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:
Dirk Hohndel 2024-01-08 13:30:34 -08:00
parent e247d4cb3c
commit 2f587bb9a8

View file

@ -30,7 +30,9 @@ IosShare::IosShare() : self(NULL) {
}
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