diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-04-16 23:25:01 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-04-17 22:55:05 +0300 |
commit | 21947778baaca205615a71a97ac8f563c998fdd3 (patch) | |
tree | 58964b6ebfbe2596a509327608da8d9fa8a791d2 /indra/llcommon | |
parent | 505ed20da32df3ab96f8b199e30be3c50e88a1e2 (diff) |
SL-18721 Window shutdown adjustments
On viewer shutdown
1. Instead of handling potential WM_* messages viewer is no longer
equiped to handle drop window's pointer and expect only WM_DESTROY
2. Detach thread and let it do its own thing, thread will delete itself
3. Reverts commit 1161262029f9619fb02d81575382b64d82d9cd09
Reason for the change: window was closing too early (as son as "LLApp"
status changes) without proper cleanup
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/threadpool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/threadpool.h b/indra/llcommon/threadpool.h index 74056aea17..b8be7bb81a 100644 --- a/indra/llcommon/threadpool.h +++ b/indra/llcommon/threadpool.h @@ -55,7 +55,7 @@ namespace LL * ThreadPool listens for application shutdown messages on the "LLApp" * LLEventPump. Call close() to shut down this ThreadPool early. */ - virtual void close(); + void close(); std::string getName() const { return mName; } size_t getWidth() const { return mThreads.size(); } |