The BW server does not close itself when there is a signal connection from the stackbar (to change the leaflet pages).
this line: self.stack_sidebar.connect("notify::visible-child", self.on_stack_switch) causes the issue. It seems the notify::visible-child part prevents the on_destroy function from executing, which means the bw subprocess does not get terminated
The BW server does not close itself when there is a signal connection from the stackbar (to change the leaflet pages).
this line:
self.stack_sidebar.connect("notify::visible-child", self.on_stack_switch)
causes the issue. It seems thenotify::visible-child
part prevents theon_destroy
function from executing, which means thebw
subprocess does not get terminated