Browse Source

Call correct function on plugin shutdown

master
Gavan Fantom 18 years ago
parent
commit
244ec3f3d4
  1. 2
      src/lsi/main.c

2
src/lsi/main.c

@ -16,7 +16,7 @@ void finish(void)
for (i = nplugins-1; i >= 0; i--) { for (i = nplugins-1; i >= 0; i--) {
printf("Shutting down plugin '%s'\n", PT(i).pl_name); printf("Shutting down plugin '%s'\n", PT(i).pl_name);
(PT(i).pl_init)(); (PT(i).pl_shutdown)();
printf("Plugin '%s' shut down\n", PT(i).pl_name); printf("Plugin '%s' shut down\n", PT(i).pl_name);
PT(i).pl_active = 0; PT(i).pl_active = 0;
} }

Loading…
Cancel
Save