Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1417cd

Browse files
committed
WinForms - Designer avoid calling Cef.Shutdown on Application.Exit
1 parent4fef9ce commita1417cd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎CefSharp.WinForms/ChromiumWebBrowser.cs‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,13 @@ protected override void OnHandleCreated(EventArgs e)
497497
{
498498
designMode=DesignMode;
499499

500-
if(!designMode)
500+
if(designMode)
501+
{
502+
//For design mode only we remove our custom ApplicationExit event handler
503+
//As we must avoid making all unmanaged calls
504+
Application.ApplicationExit-=OnApplicationExit;
505+
}
506+
else
501507
{
502508
InitializeFieldsAndCefIfRequired();
503509

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp