mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-15 18:50:20 -08:00
garbage collect window states on quit as well
This commit is contained in:
1 parent
0d15b8670b
commit
6abdadcccb
1 file changed
+1
-1
@@ -17276,7 +17276,7 @@ rd_frame(void)
|
||||
{
|
||||
next = ws->hash_next;
|
||||
RD_Cfg *cfg = rd_cfg_from_id(ws->cfg_id);
|
||||
if(cfg == &rd_nil_cfg || ws->last_frame_index_touched < rd_state->frame_index)
|
||||
if(cfg == &rd_nil_cfg || ws->last_frame_index_touched < rd_state->frame_index || rd_state->quit)
|
||||
{
|
||||
ui_state_release(ws->ui);
|
||||
r_window_unequip(ws->os, ws->r);
|
||||
|
||||
Reference in new issue
Block a user