diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-06-06 15:33:04 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-06-06 15:33:04 +0300 |
commit | 66b4620d9b79293c0e3a29df36b02735be93e977 (patch) | |
tree | c012f661798d2c96a3290fd5ab6b4d15736fa191 /xs | |
parent | 8192580b5f2db16e8b45de70deccc9dd86d3763a (diff) |
Fixed runtime error on Linux when removing canvases
Diffstat (limited to 'xs')
-rw-r--r-- | xs/src/slic3r/GUI/GLCanvas3D.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/GLCanvas3D.cpp b/xs/src/slic3r/GUI/GLCanvas3D.cpp index 41741eef8..bb5db8614 100644 --- a/xs/src/slic3r/GUI/GLCanvas3D.cpp +++ b/xs/src/slic3r/GUI/GLCanvas3D.cpp @@ -1871,7 +1871,6 @@ void GLCanvas3D::unbind_event_handlers() { if (m_canvas != nullptr) { - m_canvas->GetEventHandler()->ProcessPendingEvents(); m_canvas->Unbind(wxEVT_SIZE, &GLCanvas3D::on_size, this); m_canvas->Unbind(wxEVT_IDLE, &GLCanvas3D::on_idle, this); m_canvas->Unbind(wxEVT_CHAR, &GLCanvas3D::on_char, this); |