diff --git a/src/wintoastlib.cpp b/src/wintoastlib.cpp index edd9877..d234b29 100644 --- a/src/wintoastlib.cpp +++ b/src/wintoastlib.cpp @@ -388,7 +388,7 @@ namespace Util { } // namespace Util WinToast* WinToast::instance() { - static WinToast instance; + thread_local static WinToast instance; return &instance; }