]> git.sesse.net Git - casparcg/blobdiff - protocol/osc/client.cpp
* Created custom decklink allocator for reducing memory footprint.
[casparcg] / protocol / osc / client.cpp
index 85723b706bb4d12b3f8784810d27c3440c816867..0077756fb210dafc46f7826f59840d2efa55aa03 100644 (file)
@@ -27,6 +27,7 @@
 #include "oscpack/oscOutboundPacketStream.h"
 
 #include <common/utility/string.h>
+#include <common/exception/win32_exception.h>
 
 #include <functional>
 #include <vector>
@@ -127,6 +128,7 @@ public:
        
        void on_next(const core::monitor::message& msg)
        {
+               win32_exception::ensure_handler_installed_for_thread("agents-thread");
                auto data_ptr = make_safe<std::vector<char>>(write_osc_event(msg));
 
                tbb::spin_mutex::scoped_lock lock(endpoints_mutex_);