From 363618beb823b6dce3668045cd0d733c9b950770 Mon Sep 17 00:00:00 2001 From: PavelMikus Date: Tue, 17 Jan 2023 13:30:04 +0100 Subject: [PATCH] Linux crash fixes --- src/slic3r/GUI/BackgroundSlicingProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/BackgroundSlicingProcess.cpp b/src/slic3r/GUI/BackgroundSlicingProcess.cpp index 31fb0ba552..678761924c 100644 --- a/src/slic3r/GUI/BackgroundSlicingProcess.cpp +++ b/src/slic3r/GUI/BackgroundSlicingProcess.cpp @@ -235,7 +235,7 @@ void BackgroundSlicingProcess::thread_proc() // Process the background slicing task. m_state = STATE_RUNNING; lck.unlock(); - static std::exception_ptr exception; + std::exception_ptr exception; #ifdef _WIN32 this->call_process_seh_throw(exception); #else