-
kdecker@apple.com authored
<rdar://problem/5412759> CrashTracer: [USER] 22 crashes in Safari at com.apple.quicktime.webplugin: NPN_SetValue + 15403 In certain situations, code in WebBasePluginPackage would load a plug-in only for the explicit reason of asking it to create a preference file, but wouldn't actually unload the bundle. This created problems for the QuickTime WebKit plug-in by unloading a bundle out from underneath itself. * Plugins/WebBasePluginPackage.h: Added unload method. * Plugins/WebBasePluginPackage.m: (-[WebBasePluginPackage unload]): Added new method. Currently, only Netscape plug-ins support unload. (-[WebBasePluginPackage pListForPath:createFile:]): Added a call to unload. * Plugins/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage unload]): Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
75da3937