cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

CPU 100% on OSX #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build and run cefclient.app on osx
2. Open activity monitor and look at the CPU usage of the app
3.

What is the expected output? What do you see instead?
The application should display similar CPU usage to TestShell.app or the full 
Chromium browser. Instead it is running at 100%.

What version of the product are you using? On what operating system?
CEF revision: 203
Chromium revision: 74933
OSX 10.6.6

Please provide any additional information below.
This is caused by the run loop on OSX. Changing cef_process_ui_thread.mm line 
56 from:

kCFRunLoopBeforeTimers | kCFRunLoopBeforeWaiting,

to 

kCFRunLoopBeforeWaiting,

fixes the issue.

Original issue reported on code.google.com by tgk...@gmail.com on 25 Mar 2011 at 5:56

GoogleCodeExporter commented 9 years ago
Fixed in revision 218.

Original comment by magreenb...@gmail.com on 9 Apr 2011 at 4:55