mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
until we actually get somewhere with the menu crap... fix potential crashes when exiting.
This commit is contained in:
@ -77,6 +77,10 @@ static void areaWidget_init(areaWidget *aw)
|
||||
|
||||
static void areaWidget_dispose(GObject *obj)
|
||||
{
|
||||
// remove any draw order that might still be pending
|
||||
areaWidget *aw = areaWidget(obj);
|
||||
while (g_idle_remove_by_data(aw->a));
|
||||
|
||||
G_OBJECT_CLASS(areaWidget_parent_class)->dispose(obj);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user