kicad_freerouting-plugin
kicad_freerouting-plugin copied to clipboard
KiCad leaves tombstone process
-
problem after plugin invocation, KiCad leaves tombstone process which must be killed manually by os task manager
-
workaround start scripting console before plugin invocation:
Pcbnew -> Tools -> Scripting Console
- solution
kicad should automatically provision global
wx.Appinstance by default, similar to how it is done inkicad_pyshellhttps://git.launchpad.net/kicad/tree/pcbnew/python/kicad_pyshell/init.py#n92
See https://bugs.launchpad.net/kicad/+bug/1827742
further ideas by @qu1ck :
- use
wx.PostEventto resolvewx.App/wx.CallAfterproblem - See https://github.com/wxWidgets/wxPython/blob/master/src/_core_ex.py#L146
- See https://github.com/BrendanSimon/wxanythread/blob/master/wxAnyThread/init.py