Make sure to unregister all the classes that were registered when msi
is unloaded, so we can register again cleanly.
This commit is contained in:
parent
9997f84eac
commit
7cd5467377
|
@ -2183,6 +2183,8 @@ BOOL msi_dialog_register_class( void )
|
|||
void msi_dialog_unregister_class( void )
|
||||
{
|
||||
DestroyWindow( hMsiHiddenWindow );
|
||||
hMsiHiddenWindow = NULL;
|
||||
UnregisterClassW( szMsiDialogClass, NULL );
|
||||
UnregisterClassW( szMsiHiddenWindow, NULL );
|
||||
uiThreadId = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue