Commit f88548275dc0126acf4aeec3f45be46ee37a4225

Authored by Perry Werneck
1 parent 9d3a83d1

Incluindo mutex no método iterate.

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
src/classlib/local.cc
... ... @@ -339,7 +339,9 @@
339 339  
340 340 int iterate(bool wait)
341 341 {
  342 + session::lock();
342 343 _main_iterate(hSession,wait);
  344 + session::unlock();
343 345 return 0;
344 346 }
345 347  
... ...