Fix issue of Cannot read property 'hide' of undefined
Launch an app, press return key, then issue will happen
(TypeError: Cannot read property 'hide' of undefined).
Reason: after press return key, WRT native side will recieve
"tizen://exit",then atom::Browser::Get()->Quit() will be called,
then JS side will receive window close event, then window will
be removed from window list, and suspend() on JS side will also
be called, then it try to hide window, but now there is no window
in window list, then issue happen.
Change-Id: I930f83dbbda2093304f2797656b9a6418460a822
Signed-off-by: liwei <wei90727.li@samsung.com>