Added call to np_UnloadPluginClass in NPL_Shutdown.
git-svn-id: svn://10.0.0.236/trunk@9065 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4012,6 +4012,12 @@ NPL_Shutdown()
|
||||
instance=instance->next;
|
||||
np_delete_instance(di);
|
||||
}
|
||||
|
||||
/* beard: since we initialize refs to 1, we have to reduce it to zero here. */
|
||||
if (dh->refs > 0) {
|
||||
dh->refs--;
|
||||
np_UnloadPluginClass(dh);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user