Commit c6f4b0d
committed
gui: crash fix, do not consume numBlocksChanged() events during shutdown
Attempting to update views during shutdown can crash the app due to
accessing backend models that may no longer exist.
The shutdown procedure begins by unsetting clientModel from all views.
Therefore, it’s safe to ignore events when clientModel is nullptr.1 parent 0dc74c9 commit c6f4b0d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
858 | | - | |
| 858 | + | |
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| |||
0 commit comments