mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 17:47:12 -04:00
fix always crashing on close
This commit is contained in:
parent
4dc05d82f5
commit
7e7bfb00da
@ -47,7 +47,6 @@ void Event_Unregister(struct Event_Void* handlers, void* obj, Event_Void_Callbac
|
||||
handlers->Objs[handlers->Count] = NULL;
|
||||
return;
|
||||
}
|
||||
Logger_Abort("Attempt to unregister event handler that was not registered to begin with");
|
||||
}
|
||||
|
||||
void Event_UnregisterAll(void) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user