Addd an #ifdef _WIN32 to force SingleThreaded usage under Windows when no
threading model is specified.
This commit is contained in:
@@ -977,6 +977,11 @@ Viewer::ThreadingModel Viewer::suggestBestThreadingModel()
|
||||
|
||||
if (contexts.empty()) return SingleThreaded;
|
||||
|
||||
#ifdef _WIN32
|
||||
// temporary hack to disable multi-threading under Windows till we find good solutions for
|
||||
// crashes that users are seeing.
|
||||
return SingleThreaded;
|
||||
#endif
|
||||
|
||||
Cameras cameras;
|
||||
getCameras(cameras);
|
||||
|
||||
Reference in New Issue
Block a user