Make sure phantom.exit() really exits.

Patch by Alessandro Portale.
1.2
Ariya Hidayat 2011-06-20 23:24:51 -07:00
parent baa4382de9
commit 8094cdb4e7
1 changed files with 2 additions and 0 deletions

View File

@ -230,6 +230,8 @@ void Phantom::exit(int code)
{
m_terminated = true;
m_returnValue = code;
delete m_page;
m_page = 0;
QApplication::instance()->exit(code);
}