Crash on close bugfix
Brought to you by:
shaneh
Cross-posting from http://forums.winamp.com/showthread.php?postid=2616942#post2616942:
I've disassembled the code and tracked the issue down to a missing CoInitialize() call in the CScriptManager destructor (CoCreateInstance() returned a - surprisingly - helpful error code). Recompiled with the attached patch applied and everything seems to work again.
Call CoInitialize() before creating an object instance.