diff options
Diffstat (limited to 'src/threadengines')
-rw-r--r-- | src/threadengines/threadengine_pthread.cpp | 2 | ||||
-rw-r--r-- | src/threadengines/threadengine_win32.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp index 59ab8f402..08a19a749 100644 --- a/src/threadengines/threadengine_pthread.cpp +++ b/src/threadengines/threadengine_pthread.cpp @@ -84,6 +84,7 @@ class ThreadSignalSocket : public BufferedSocket void OnError(BufferedSocketError) { + ServerInstance->GlobalCulls.AddItem(this); } }; @@ -123,6 +124,7 @@ class ThreadSignalSocket : public BufferedSocket void OnError(BufferedSocketError) { + ServerInstance->GlobalCulls.AddItem(this); } }; diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp index 532f50f55..cbdcdf3af 100644 --- a/src/threadengines/threadengine_win32.cpp +++ b/src/threadengines/threadengine_win32.cpp @@ -68,6 +68,7 @@ class ThreadSignalSocket : public BufferedSocket void OnError(BufferedSocketError) { + ServerInstance->GlobalCulls.AddItem(this); } }; |