command: Remove core deinitialization on close for non-dynamic targets

This commit is contained in:
Sebastien Ronsse 2016-07-21 20:16:14 +10:00
parent 1c40598da4
commit f65eaf1de9

View File

@ -1922,7 +1922,9 @@ bool command_event(enum event_command cmd, void *data)
break;
}
#ifdef HAVE_DYNAMIC
command_event(CMD_EVENT_LOAD_CORE_DEINIT, NULL);
#endif
switch (cmd)
{