Fix crash if GtkModule.so fails to load.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user