- bug fix
This commit is contained in:
2
devser.c
2
devser.c
@ -324,7 +324,7 @@ static void DevReset(DevSer * devser)
|
|||||||
devser->toKill = NULL;
|
devser->toKill = NULL;
|
||||||
if (devser->killCurrent) {
|
if (devser->killCurrent) {
|
||||||
if (devser->current->kill != NULL) {
|
if (devser->current->kill != NULL) {
|
||||||
devser->current->kill(devser->current);
|
devser->current->kill(devser->current->data);
|
||||||
}
|
}
|
||||||
devser->killCurrent = 0;
|
devser->killCurrent = 0;
|
||||||
free(devser->current);
|
free(devser->current);
|
||||||
|
Reference in New Issue
Block a user