mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
garbage collect window states on quit as well
This commit is contained in:
@@ -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