Commit ad518d95 authored by Jocelyn Turcotte's avatar Jocelyn Turcotte
Browse files

Fix a shutdown crash under CFAutoreleasePoolPop


NSAutoreleasePool init and dray must be symetrical and we can't guarantee
that for ContentMainRunner as well as Chromium can since we initialize
the ContentMainRunner on-demand but destroy it with the QCoreApplication's
destruction.

We also don't need to use it since any allocation that
ContentMainRunnerImpl::autorelease_pool_ would cover is already covered
at the bottom of the stack by the QCocoaAutoReleasePool in
QCocoaEventDispatcher::processEvents.

Change-Id: I2874916420457e3d36d08fb9fca0d919f374f592
Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
parent 8a291c26
No related merge requests found
Showing with 4 additions and 4 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment