On Wed, Sep 21, 2011 at 2:31 PM, Leonardo M. Ramé <[email protected]>wrote:
> if Assigned(FMyThread) then > begin > FMyThread.Terminate; > while not FMyThread.Finished do > CheckSynchronize(100); > FreeAndNil(FMyThread); > end; > try FMyThread.Terminate; FMyThread.WaitFor; .... -- Zaher Dirkey
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
