diff options
author | Chris Warren-Smith | 2011-08-13 07:35:50 +1000 |
---|---|---|
committer | Chris Warren-Smith | 2011-08-21 16:38:53 +1000 |
commit | 46a8304b730e35dee340ac2ab665725f8f7f78b5 (patch) | |
tree | 14a9288bed8b52708d420c3ffb2943454a3c44ae /backends/platform/bada/form.cpp | |
parent | bf11cf0e01cf5202afb2b636ed0c17f1cd99699c (diff) | |
download | scummvm-rg350-46a8304b730e35dee340ac2ab665725f8f7f78b5.tar.gz scummvm-rg350-46a8304b730e35dee340ac2ab665725f8f7f78b5.tar.bz2 scummvm-rg350-46a8304b730e35dee340ac2ab665725f8f7f78b5.zip |
BADA: Allow clean shutdown when encountering an error
Diffstat (limited to 'backends/platform/bada/form.cpp')
-rwxr-xr-x | backends/platform/bada/form.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/bada/form.cpp b/backends/platform/bada/form.cpp index d5fda598ee..f75acfed20 100755 --- a/backends/platform/bada/form.cpp +++ b/backends/platform/bada/form.cpp @@ -99,7 +99,7 @@ result BadaAppForm::Construct() { BadaAppForm::~BadaAppForm() {
logEntered();
- if (_gameThread) {
+ if (_gameThread && _state != ErrorState) {
terminate();
_gameThread->Stop();
_gameThread->Join();
|