Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make WinToast::Instance() thread local
With this, the Instance method returns a thread local instance, instead of a global instance. This allows using the method inside multi-threaded programs. Without the *thread_local* keyword, creating a toast inside another thread then the instanciating thread will throw an exception, because the combaselib does not support operation across threads.
- Loading branch information