diff options
Diffstat (limited to '')
-rw-r--r-- | ThirdParty/SmartThreadPool/WorkItem.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ThirdParty/SmartThreadPool/WorkItem.cs b/ThirdParty/SmartThreadPool/WorkItem.cs index d0c0524..12668b0 100644 --- a/ThirdParty/SmartThreadPool/WorkItem.cs +++ b/ThirdParty/SmartThreadPool/WorkItem.cs | |||
@@ -1027,7 +1027,10 @@ namespace Amib.Threading.Internal | |||
1027 | lock (this) | 1027 | lock (this) |
1028 | { | 1028 | { |
1029 | if(currentThread != null) | 1029 | if(currentThread != null) |
1030 | { | ||
1030 | currentThread.Abort(); | 1031 | currentThread.Abort(); |
1032 | currentThread.Join(); | ||
1033 | } | ||
1031 | } | 1034 | } |
1032 | } | 1035 | } |
1033 | } | 1036 | } |