View Single Post
Old 4th August 2008, 18:01   #4
Benski
Ben Allison
Former Winamp Developer
 
Benski's Avatar
 
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
Plugins shouldn't be unsubclassing during quit(). The problem is that a plugin's quit() function is being called from within the main Winamp WndProc itself, so unsubclassing is massively dangerous, especially when combined with a FreeLibrary().
The main window is in the midst of being destroyed anyway so it doesn't really matter that you 'clean up after yourself'.
Benski is offline   Reply With Quote