diff options
Diffstat (limited to 'src/CrowThread.cs')
| -rw-r--r-- | src/CrowThread.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CrowThread.cs b/src/CrowThread.cs index dfdeda00..fcfc0647 100644 --- a/src/CrowThread.cs +++ b/src/CrowThread.cs @@ -51,7 +51,8 @@ namespace Crow thread.Join (); //cancelLoading = false; } - Host.CurrentInterface.CrowThreads.Remove (this); + lock (Host.CurrentInterface.CrowThreads) + Host.CurrentInterface.CrowThreads.Remove (this); } } } |