forked from mirrors/linphone-iphone
fix(multipart-tester): fix tests, avoid bad weak ptr
This commit is contained in:
parent
38b6a410bc
commit
fcd2b834c9
1 changed files with 2 additions and 0 deletions
|
|
@ -96,6 +96,8 @@ static void chat_message_multipart_modifier_base(bool first_file_transfer, bool
|
|||
BC_ASSERT_STRING_EQUAL(content, "Hello part 2");
|
||||
}
|
||||
|
||||
marieRoom.reset(); // Avoid bad weak ptr when the core is destroyed below this line.
|
||||
|
||||
linphone_core_manager_destroy(marie);
|
||||
linphone_core_manager_destroy(pauline);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue