mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1190903 - Don't send StopIMEStateManagement message after TabParent has been destroyed (r=masayuki)
This commit is contained in:
parent
eccd2c3d94
commit
b33248de3c
@ -438,6 +438,8 @@ TabParent::Destroy()
|
||||
return;
|
||||
}
|
||||
|
||||
IMEStateManager::OnTabParentDestroying(this);
|
||||
|
||||
RemoveWindowListeners();
|
||||
|
||||
// If this fails, it's most likely due to a content-process crash,
|
||||
@ -484,6 +486,8 @@ TabParent::Recv__delete__()
|
||||
void
|
||||
TabParent::ActorDestroy(ActorDestroyReason why)
|
||||
{
|
||||
// Even though TabParent::Destroy calls this, we need to do it here too in
|
||||
// case of a crash.
|
||||
IMEStateManager::OnTabParentDestroying(this);
|
||||
|
||||
nsRefPtr<nsFrameLoader> frameLoader = GetFrameLoader(true);
|
||||
|
Loading…
Reference in New Issue
Block a user