mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Fix crash temporarily, leak instead
This commit is contained in:
parent
ab07fa2b2f
commit
f47dd800b8
1 changed files with 3 additions and 2 deletions
|
|
@ -249,8 +249,9 @@ public:
|
|||
>
|
||||
static void signalCppPtrDestruction (CppType *cppObject) {
|
||||
void *value = cppObject->getCBackPtr();
|
||||
if (value && static_cast<WrappedBaseObject<CppType> *>(value)->owner == WrappedObjectOwner::Internal)
|
||||
belle_sip_object_unref(value);
|
||||
//TODO
|
||||
/*if (value && static_cast<WrappedBaseObject<CppType> *>(value)->owner == WrappedObjectOwner::Internal)
|
||||
belle_sip_object_unref(value);*/
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue