Fix CEF crash when quitting from debug build.