Comments (6)
There is a topic on CEF forum regarding this matter:
http://magpcss.org/ceforum/viewtopic.php?f=6&t=10252
I'm not sure how threads in Qt work.
Original comment by [email protected]
on 27 Nov 2012 at 2:56
- Changed state: Accepted
from cefpython.
[deleted comment]
from cefpython.
Original comment by [email protected]
on 27 Nov 2012 at 3:06
- Changed title: PyQt example crashes when closing window
from cefpython.
Fixed in revision 2469d5441fd3.
The solution was to assign None to QApplication before calling shutdown:
app = None
cefpython.Shutdown()
This fix removed errors in the console, I'm assuming it also fixed the crash,
but as I couldn't reproduce it, I'm not 100% sure, so better test it.
Original comment by [email protected]
on 27 Nov 2012 at 9:46
- Changed state: Fixed
from cefpython.
Verified. Issue disappears if None is assigned to app. App must be garbage
collected by null assignment but not sure how/why it was causing the error in
first place.
Original comment by [email protected]
on 27 Nov 2012 at 11:34
from cefpython.
I guess Qt could still run some internal threads that collided with shutdown or
something. It makes sense, we called cefpython.Initialize() before QApplication
was initialized, so we should destroy QApplication (it also needs to do some
cleanup, probably called in destructor) before cefpython.shutdown().
Original comment by [email protected]
on 28 Nov 2012 at 12:39
from cefpython.
Related Issues (20)
- Mac examples exit with error code 255 HOT 3
- The default en-US locale pak file fails to load on Mac HOT 3
- Examples crash on Mac when app doesn't have permission to write to the debug.log file
- Issues with size_t => int conversions when using cef_values.h API on Win x64 platform HOT 2
- Python Wheels - DESCRIPTION.rst UNKNOWN
- Embed __version__ also in the cython generated module (cefpython_py27.pyd) HOT 1
- Create unified key mappings for all platforms HOT 8
- Add Browser.IsDevTools() HOT 1
- Expose CreateBrowser() with a callback argument that will be executed after browser was created
- The popup window and parent window can't script each other in the wxpython.py example HOT 3
- Create "chrome31" branch before updating to a newer CEF branch HOT 1
- wxpython-response.py example: final url is wrong when doing redirects HOT 7
- Close the browser BEFORE the page is full loaded CEF Crashe HOT 1
- Warnings on OS X: Internals of CFAllocator not known HOT 1
- [meta] Migrate the repository somewhere HOT 2
- Gtk: gtk_disable_setlocale() must be called before gtk_init() HOT 2
- Restructure directories (binaries, installer, libraries) to allow for git branching HOT 1
- Automating navigation HOT 1
- Google Code is dying
- Update to CEF branch 2171 (Chrome 39)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cefpython.