Fix crash if GtkModule.so fails to load.

This commit is contained in:
Glenn Maynard
2003-09-11 02:42:48 +00:00
parent c1889a8afd
commit 575a7b2eeb
@@ -34,6 +34,7 @@ try {
if( ret != NULL ) if( ret != NULL )
RageException::ThrowNonfatal( ret ); RageException::ThrowNonfatal( ret );
} catch(...) { } catch(...) {
if( Handle )
dlclose( Handle ); dlclose( Handle );
Handle = NULL; Handle = NULL;
throw; throw;