2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update tgcalls.

This commit is contained in:
John Preston
2025-03-25 23:15:30 +05:00
parent c80c23e8e8
commit f9a7c46868
3 changed files with 9 additions and 11 deletions

View File

@@ -3682,7 +3682,7 @@ void GroupCall::destroyController() {
DEBUG_LOG(("Call Info: Destroying call controller.."));
invalidate_weak_ptrs(&_instanceGuard);
_instance->stop();
_instance->stop(nullptr);
crl::async([
instance = base::take(_instance),
done = _delegate->groupCallAddAsyncWaiter()
@@ -3699,7 +3699,7 @@ void GroupCall::destroyScreencast() {
DEBUG_LOG(("Call Info: Destroying call screen controller.."));
invalidate_weak_ptrs(&_screenInstanceGuard);
_screenInstance->stop();
_screenInstance->stop(nullptr);
crl::async([
instance = base::take(_screenInstance),
done = _delegate->groupCallAddAsyncWaiter()