Fix crash if GtkModule.so fails to load.
This commit is contained in:
@@ -34,7 +34,8 @@ try {
|
||||
if( ret != NULL )
|
||||
RageException::ThrowNonfatal( ret );
|
||||
} catch(...) {
|
||||
dlclose( Handle );
|
||||
if( Handle )
|
||||
dlclose( Handle );
|
||||
Handle = NULL;
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user