fix presentwindows crash on disabling closebuttons
m_closeWindow "dangles" and protects m_closeView access in postPaintScreen REVIEW: 123865
This commit is contained in:
parent
12358f839a
commit
ae31aaaa13
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ void PresentWindowsEffect::reconfigure(ReconfigureFlags)
|
|||
if (m_doNotCloseWindows) {
|
||||
delete m_closeView;
|
||||
m_closeView = nullptr;
|
||||
m_closeWindow = nullptr;
|
||||
}
|
||||
m_ignoreMinimized = PresentWindowsConfig::ignoreMinimized();
|
||||
m_accuracy = PresentWindowsConfig::accuracy() * 20;
|
||||
|
|
Loading…
Reference in a new issue