mirror of https://github.com/vitalif/phantomjs
parent
baa4382de9
commit
8094cdb4e7
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue