2
0
Эх сурвалжийг харах

* Make sure that the thread has been started, before destroying the event.

git-svn-id: branches/targetandroid@23391 -
yury 12 жил өмнө
parent
commit
5254f8e572

+ 1 - 0
tests/test/tbrtlevt.pp

@@ -125,6 +125,7 @@ begin
   basiceventdestroy(event);
 {$else}
   help:=thelper.create(o_waittimeoutabandon);
+  sleep(100); // make sure that thread has been started
   basiceventdestroy(event);
   help.waitfor;
   help.free;