core: Use QCoreApplication::exit() instead of just exit()
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 29 May 2018 22:05:07 +0000 (00:05 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Jun 2018 19:12:17 +0000 (21:12 +0200)
commitc068c516487c4699d5dbefe449d62c9ebad29684
tree289cc5ca5434e01dfb994359a1c73032b81a4cfb
parentfbb06e36ee772862c0d70ab43c9000225e9f8c42
core: Use QCoreApplication::exit() instead of just exit()

Ensure that the application is cleanly terminated (by stopping
the main event loop instead of just exiting) when core
initialization fails. This allows for proper cleanup, shutting
down threads etc.
src/core/core.cpp