{"action":"created","issue":{"url":"https://api.github.com/repos/cefsharp/CefSharp/issues/815","labels_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/815/labels{/name}","comments_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/815/comments","events_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/815/events","html_url":"https://github.com/cefsharp/CefSharp/issues/815","id":57871059,"number":815,"title":"ExecuteScriptAsync stuck?","user":{"login":"microwishing","id":5828402,"avatar_url":"https://avatars.githubusercontent.com/u/5828402?v=3","gravatar_id":"","url":"https://api.github.com/users/microwishing","html_url":"https://github.com/microwishing","followers_url":"https://api.github.com/users/microwishing/followers","following_url":"https://api.github.com/users/microwishing/following{/other_user}","gists_url":"https://api.github.com/users/microwishing/gists{/gist_id}","starred_url":"https://api.github.com/users/microwishing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microwishing/subscriptions","organizations_url":"https://api.github.com/users/microwishing/orgs","repos_url":"https://api.github.com/users/microwishing/repos","events_url":"https://api.github.com/users/microwishing/events{/privacy}","received_events_url":"https://api.github.com/users/microwishing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-17T01:05:54Z","updated_at":"2015-03-18T11:38:46Z","closed_at":null,"body":"Hi,\r\n\r\nWe have been working to add progress bar in our product. Our backend is using C++. The backend has a loop to do a specific operation. In the loop, it calls frontend javascript object to update the progress bar through ExecuteScriptAsync. However, we notice the progress bar isn't  showing up when loop continues. It seems ExecuteScriptAsync requests are stuck somehow. After the loop completes, the progress bar shows up and animates as expected. We added sleep(10000) after ExecuteScriptAsync call, the progress bar still doesn't show up. Is there anyone knowing what is going on?\r\n\r\nThe source code is like below:\r\n\r\nint progress = 0; // 0 to 100\r\n\r\nfor (int i = 0; i < 5; i ++)\r\n{\r\n progress += 20;\r\n   wb->ExecuteScriptAsync(\"progressbar.UpdateProgress(\" + progress + \")\");\r\n// sleep(10000)\r\n}\r\n\r\nEnvironment: Windows 2008, WinForms, CefSharp3 libraries built from the latest main branch.\r\n \r\nthanks!"},"comment":{"url":"https://api.github.com/repos/cefsharp/CefSharp/issues/comments/82921338","html_url":"https://github.com/cefsharp/CefSharp/issues/815#issuecomment-82921338","issue_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/815","id":82921338,"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-03-18T11:38:46Z","updated_at":"2015-03-18T11:38:46Z","body":"@microwishing Any further comment? Can we close this?\r\n\r\nYou might find #868 useful."}}