mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -04:00
Only call module onload if its present
This commit is contained in:
parent
d22405cea7
commit
ef4289689f
@ -84,6 +84,7 @@ kore_module_reload(void)
|
||||
if (module->mtime == st.st_mtime)
|
||||
continue;
|
||||
|
||||
if (module->ocb != NULL)
|
||||
module->ocb(KORE_MODULE_UNLOAD);
|
||||
|
||||
module->mtime = st.st_mtime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user