Stop Forwarding SingletonHwnd Messages If There is No MessageLoop Set

If there is no MessageLoop and SingletonHwnd is receiving messages,
this means it is receiving messages via an external message pump
such as COM Uninitialization.

It is unsafe to forward these messages as observers may depend on
the existence of a MessageLoop to proceed.


Change-Id: I9d6e76a03931db59450ac4b3d17c6aeaa365061b
Reviewed-by: Scott Violet <>
Commit-Queue: Robert Liao <>
Cr-Commit-Position: refs/heads/master@{#614737}
1 file changed