We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e8435 commit dec7367Copy full SHA for dec7367
1 file changed
specs/BrowserProcessExited.md
@@ -108,10 +108,13 @@ void AppWindow::CloseWebView(/* ... */) {
108
{
109
// The exiting process is not the last in use. Do not attempt cleanup
110
// as we might still have a webview open over the user data folder.
111
- MessageBox(
112
- m_mainWindow,
113
- L"A new browser process prevented cleanup of the user data folder.",
114
- L"Cleanup User Data Folder", MB_OK);
+ // Do not block from event handler.
+ RunAsync([this]() {
+ MessageBox(
+ m_mainWindow,
115
+ L"A new browser process prevented cleanup of the user data folder.",
116
+ L"Cleanup User Data Folder", MB_OK);
117
+ });
118
}
119
120
return S_OK;
0 commit comments