mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Fix the random crash at the startup on Macos&&Linux
don't do the post_init when adding script handler of webview Change-Id: I2c766c46bb67347286765dee539657b5efd7f64a
This commit is contained in:
parent
3dbdc40360
commit
c6f0c41213
3 changed files with 9 additions and 1 deletions
|
@ -2307,7 +2307,7 @@ bool GUI_App::on_init_inner()
|
|||
//#ifdef __linux__
|
||||
// if (!m_post_initialized && m_opengl_initialized) {
|
||||
//#else
|
||||
if (!m_post_initialized) {
|
||||
if (!m_post_initialized && !m_adding_script_handler) {
|
||||
//#endif
|
||||
m_post_initialized = true;
|
||||
#ifdef WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue