diff -r bf16cf249d3d -r 87f951bece2d core/ConsoleDetours.cpp --- a/core/ConsoleDetours.cpp Wed Oct 28 23:30:52 2009 -0700 +++ b/core/ConsoleDetours.cpp Thu Oct 29 00:06:12 2009 -0700 @@ -156,7 +156,10 @@ while (iter != vtables.end()) { if ((*iter).refcount) + { + iter++; continue; + } /* Damn it. This event happens AFTER the plugin has unloaded! * There's two options. Remove the hook now and hope SH's memory * protection will prevent a crash. Otherwise, we can wait until