소스 검색

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

git-svn-id: branches/targetandroid@23391 -
yury 12 년 전
부모
커밋
5254f8e572
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/test/tbrtlevt.pp

+ 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;