Bug #601

GUI graphs don't ensure proper shutdown of all the block before tearing the GUI down

Added by Sylvain Munaut 11 months ago. Updated 11 months ago.

Status:ClosedStart date:10/22/2013
Priority:NormalDue date:
Assignee:Johnathan Corgan% Done:

0%

Category:gr-wxgui
Target version:release-3.7.2
Resolution:fixed

Description

Any GR block that has an UI component pretty much has to "handover" control over the life of that UI element to the GUI framework. So it has no idea when it gets destroyed. Therefore we must ensure that the block processing is stopped whenever than happens or the block might generate access to destroyed objects.

This is already the case for GRC generated WX graphs. But not for QT graphs, nor for the stdapp application template. The attached patches fixes that.

Without theses my new WX/Qt widgets for fosphor just crash on exit ...

0001-grc-Ensure-proper-shutdown-of-Qt-GUI-flow-graphs.patch Magnifier - Fix for GRC generated Qt GUI flow graphs (1.12 KB) Sylvain Munaut, 10/22/2013 11:09 pm

0002-gr-wxgui-Ensure-proper-shutdown-on-window-close.patch Magnifier - Fix for WX graphs using the stdapp template (834 Bytes) Sylvain Munaut, 10/22/2013 11:09 pm

History

#1 Updated by Johnathan Corgan 11 months ago

  • Category set to gr-wxgui
  • Status changed from New to Assigned
  • Assignee set to Johnathan Corgan
  • Target version set to release-3.7.2

#2 Updated by Johnathan Corgan 11 months ago

  • Status changed from Assigned to Resolved
  • Resolution set to fixed

This was applied to the maint branch in a8a596ea.

#3 Updated by Johnathan Corgan 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF