fix(multipart-tester): fix tests, avoid bad weak ptr

This commit is contained in:
Ronan Abhamon 2018-04-27 15:55:35 +02:00
parent 38b6a410bc
commit fcd2b834c9

View file

@ -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);
}