Skip to content

Commit

Permalink
Merge pull request #100 from HeinrichZurHorstMeyer/master
Browse files Browse the repository at this point in the history
Make WinToast::Instance() thread local
  • Loading branch information
mohabouje authored Apr 2, 2024
2 parents 821c481 + ee10d0c commit 34173f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wintoastlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ namespace Util {
} // namespace Util

WinToast* WinToast::instance() {
static WinToast instance;
thread_local static WinToast instance;
return &instance;
}

Expand Down

0 comments on commit 34173f3

Please sign in to comment.