yueying0083 / javachromiumembedded

Automatically exported from code.google.com/p/javachromiumembedded
0 stars 0 forks source link

Don't store non-POD types as global variables #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Non-POD globals are generally considered bad (see 
http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Static_and_Globa
l_Variables). It's probably time to introduce a singleton global context object 
that can own these globals as members. The singleton's lifespan could be 
controlled by CefApp.cpp (created before CefInitialize and destroyed after 
CefShutdown).

Original issue reported on code.google.com by magreenb...@gmail.com on 12 Jan 2015 at 9:53

GoogleCodeExporter commented 8 years ago
JCEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/java-cef/issue/145

Original comment by magreenb...@gmail.com on 18 Mar 2015 at 6:01