chiark / gitweb /
Prevent multiple calls to afterSplashCallback
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 7 Jul 2015 19:48:07 +0000 (15:48 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 7 Jul 2015 20:05:15 +0000 (16:05 -0400)
commit08c5f2133c9dbc8b986bc727c0b9768d9e45ccfd
treedc69f048b97e44931b44ae9d5f879fcd9896d1c9
parentf5f6c5927f61bcfde19577bc739844bfff7750af
Prevent multiple calls to afterSplashCallback

This fixes issue #133. Problem was that if splash.OnClose was called
before the afterSplashCallback was done (such as, if it's blocking
on a configWizard), then the callback would be called again.
This also fixes a segmentation fault if you cancel the initial config wizard
by making sure the callback is done outside the event thread and splash
destruction is done at the proper time and from the proper thread.
Cura/gui/app.py
Cura/gui/splashScreen.py