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:
beard%netscape.com
1998-09-01 23:57:50 +00:00
parent 2a60b87633
commit dd8e829ab2

View File

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