Commit 9c6fadb
CMenuContainer object was not destroyed when Start Menu window was closed.
It was referenced by IFrameworkInputPane::AdviseWithHWND call (to be able
to receive input pane notifications). The problem was that dereferencing
(IFrameworkInputPane::Unadvise) was called from CMenuContainer destructor
that is called only when object's refcount goes to zero.
In previous Windows versions it somehow worked, because for some reason
CMenuContainer object was no longer referenced when its window was
destroyed.
Apparently there was some change in IFrameworkInputPane handling in recent
Windows builds (starting with 17692).
To fix the issue we have to call IFrameworkInputPane::Unadvise() when
CMenuContainer's window is about to be destroyed.
1 parent 8a5ad15 commit 9c6fadb
File tree
1 file changed
+4
-3
lines changed- ClassicStartSrc/ClassicStartMenu/ClassicStartMenuDLL
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | 773 | | |
777 | 774 | | |
778 | 775 | | |
| |||
6215 | 6212 | | |
6216 | 6213 | | |
6217 | 6214 | | |
| 6215 | + | |
| 6216 | + | |
| 6217 | + | |
| 6218 | + | |
6218 | 6219 | | |
6219 | 6220 | | |
6220 | 6221 | | |
| |||
0 commit comments