|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|