{"action":"created","issue":{"url":"https://api.github.com/repos/cefsharp/CefSharp/issues/614","labels_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/614/comments","events_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/614/events","html_url":"https://github.com/cefsharp/CefSharp/issues/614","id":49158580,"number":614,"title":"Cef.Shutdown() too slow on version compiled from source","user":{"login":"rfgamaral","id":96476,"avatar_url":"https://avatars.githubusercontent.com/u/96476?v=3","gravatar_id":"","url":"https://api.github.com/users/rfgamaral","html_url":"https://github.com/rfgamaral","followers_url":"https://api.github.com/users/rfgamaral/followers","following_url":"https://api.github.com/users/rfgamaral/following{/other_user}","gists_url":"https://api.github.com/users/rfgamaral/gists{/gist_id}","starred_url":"https://api.github.com/users/rfgamaral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfgamaral/subscriptions","organizations_url":"https://api.github.com/users/rfgamaral/orgs","repos_url":"https://api.github.com/users/rfgamaral/repos","events_url":"https://api.github.com/users/rfgamaral/events{/privacy}","received_events_url":"https://api.github.com/users/rfgamaral/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cefsharp/CefSharp/milestones/9","html_url":"https://github.com/cefsharp/CefSharp/milestones/39.0.0","labels_url":"https://api.github.com/repos/cefsharp/CefSharp/milestones/9/labels","id":849972,"number":9,"title":"39.0.0","description":"First non-beta based on Chromium 39/CEF branch 2171.\r\n\r\nShould be able to give us:\r\n* Spell checking\r\n* Inspect Element (right-click)\r\n* CEF's fix of the Print() regression for WPF","creator":{"login":"jornh","id":766423,"avatar_url":"https://avatars.githubusercontent.com/u/766423?v=3","gravatar_id":"","url":"https://api.github.com/users/jornh","html_url":"https://github.com/jornh","followers_url":"https://api.github.com/users/jornh/followers","following_url":"https://api.github.com/users/jornh/following{/other_user}","gists_url":"https://api.github.com/users/jornh/gists{/gist_id}","starred_url":"https://api.github.com/users/jornh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jornh/subscriptions","organizations_url":"https://api.github.com/users/jornh/orgs","repos_url":"https://api.github.com/users/jornh/repos","events_url":"https://api.github.com/users/jornh/events{/privacy}","received_events_url":"https://api.github.com/users/jornh/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":78,"state":"closed","created_at":"2014-11-02T11:31:25Z","updated_at":"2015-07-24T23:52:04Z","due_on":"2015-03-30T14:00:00Z","closed_at":"2015-04-07T12:02:55Z"},"comments":58,"created_at":"2014-11-17T23:11:37Z","updated_at":"2015-09-29T22:12:00Z","closed_at":"2014-12-30T21:44:15Z","body":"I have been running CefSharp v33.0.2 (from NuGet) and so far so good. But because of recent issues (i.e. #608) I felt the need to compile CefSharp from source and use the latest `master` build in my project.\r\n\r\nMaybe I missed something important, but here's the process I followed for this:\r\n\r\n 1. Cloned CefSharp and restored all packages with NuGet.\r\n 2. Opened `CefSharp3.sln` and built **everything** from `Build » Batch Build...`.\r\n 3. Built the `CefSharp.Common` and `CefSharp.WinForms` NuGet packages with commands from `build.ps1` file.\r\n  - The files `CefSharp.Common.37.0.0-pre01.nupkg` and `CefSharp.WinForms.37.0.0-pre01.nupkg` were generated.\r\n 4. Configured the NuGet Package Sources (Visual Studio settings) to look for packages inside the cloned `CefSharp\\NuGet` folder where the `.nupkg` files are located (placed this source at the top).\r\n 5. Updated my project to the pre-release packages available.\r\n\r\nMy project `packages.config` went from this:\r\n\r\n```xml\r\n<package id=\"cef.redist\" version=\"3.1750.1738\" targetFramework=\"net45\" />\r\n<package id=\"CefSharp.Common\" version=\"33.0.2\" targetFramework=\"net45\" />\r\n<package id=\"CefSharp.WinForms\" version=\"33.0.2\" targetFramework=\"net45\" />\r\n```\r\n\r\nTo this:\r\n\r\n```xml\r\n<package id=\"cef.redist.x64\" version=\"3.2062.1898\" targetFramework=\"net45\" />\r\n<package id=\"cef.redist.x86\" version=\"3.2062.1898\" targetFramework=\"net45\" />\r\n<package id=\"CefSharp.Common\" version=\"37.0.0-pre01\" targetFramework=\"net45\" />\r\n<package id=\"CefSharp.WinForms\" version=\"37.0.0-pre01\" targetFramework=\"net45\" />\r\n```\r\n\r\nAssuming my process is correct, after building a new version of my application with the latest \"pre-release\" from CefSharp's `master` branch. The call to `Cef.Shutdown()` has become incredibly slow. I'm calling the `Shutdown` method when the user exits the application (by pressing `Exit` in a context menu) and it took more than 10 seconds to close the whole thing.\r\n\r\nThis did not happen on the previous version.\r\n\r\nAfter looking closer to IntelliTrace I noticed a bunch of thrown and caught exceptions, 5 of each of the following:\r\n\r\n```\r\nException:Thrown: \"The ServiceHost close operation timed out after 00:00:09.9857724.  This could be because a client failed to close a sessionful channel within the required time.  The time allotted to this operation may have been a portion of a longer timeout.\" (System.TimeoutException)\r\nA System.TimeoutException was thrown: \"The ServiceHost close operation timed out after 00:00:09.9857724.  This could be because a client failed to close a sessionful channel within the required time.  The time allotted to this operation may have been a portion of a longer timeout.\"\r\nTime: 17/11/2014 23:06:27\r\nThread:<No Name>[8836]\r\n```\r\n\r\n```\r\nException:Thrown: \"The operation cannot be completed because the pipe was closed.  This may have been caused by the application on the other end of the pipe exiting.\" (System.ServiceModel.CommunicationObjectAbortedException)\r\nA System.ServiceModel.CommunicationObjectAbortedException was thrown: \"The operation cannot be completed because the pipe was closed.  This may have been caused by the application on the other end of the pipe exiting.\"\r\nTime: 17/11/2014 23:06:27\r\nThread:Worker Thread[1548]\r\n```\r\n\r\nIs there anything else that I should probably be doing to make sure this v37 works as expected?"},"comment":{"url":"https://api.github.com/repos/cefsharp/CefSharp/issues/comments/144206001","html_url":"https://github.com/cefsharp/CefSharp/issues/614#issuecomment-144206001","issue_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/614","id":144206001,"user":{"login":"amaitland","id":307872,"avatar_url":"https://avatars.githubusercontent.com/u/307872?v=3","gravatar_id":"","url":"https://api.github.com/users/amaitland","html_url":"https://github.com/amaitland","followers_url":"https://api.github.com/users/amaitland/followers","following_url":"https://api.github.com/users/amaitland/following{/other_user}","gists_url":"https://api.github.com/users/amaitland/gists{/gist_id}","starred_url":"https://api.github.com/users/amaitland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaitland/subscriptions","organizations_url":"https://api.github.com/users/amaitland/orgs","repos_url":"https://api.github.com/users/amaitland/repos","events_url":"https://api.github.com/users/amaitland/events{/privacy}","received_events_url":"https://api.github.com/users/amaitland/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T22:12:00Z","updated_at":"2015-09-29T22:12:00Z","body":"Seems like someone else has opened an issue, please contribute there.\r\n\r\nSee #1304"}}