mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
iOS: crash fix: don't try to deallocate IosShare
We have a strange crash on exit on iOS and this looks like the likely culprit. And since it happens at app exit, I'm not too worried about leaking memory... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e247d4cb3c
commit
2f587bb9a8
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ IosShare::IosShare() : self(NULL) {
|
||||||
}
|
}
|
||||||
|
|
||||||
IosShare::~IosShare() {
|
IosShare::~IosShare() {
|
||||||
[(id)self dealloc];
|
// this call below apparently caused a crash at exit.
|
||||||
|
// since at exit I really don't care much about a memory leak, this should be fine.
|
||||||
|
// [(id)self dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
// simplified method that fills subject, recipient, and body for support emails
|
// simplified method that fills subject, recipient, and body for support emails
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue