]> git.sesse.net Git - casparcg/blobdiff - common/concurrency/executor.h
* Created custom decklink allocator for reducing memory footprint.
[casparcg] / common / concurrency / executor.h
index 7cdc742d61c641fece644c8157a1a71d92f64666..27fd5caa70606e382eda80641e6e4e5526bbb5d1 100644 (file)
@@ -251,8 +251,8 @@ private:
 
        void run() // noexcept
        {
-               win32_exception::install_handler();             
-               detail::SetThreadName(GetCurrentThreadId(), name_.c_str());
+               win32_exception::ensure_handler_installed_for_thread(name_.c_str());
+
                while(is_running_)
                {
                        try