mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
fix(IncallFullscreenWindow): avoid invalid access to incall id
This commit is contained in:
parent
3c205c7098
commit
44fa997770
1 changed files with 6 additions and 0 deletions
|
|
@ -23,6 +23,12 @@ Window {
|
|||
// ---------------------------------------------------------------------------
|
||||
|
||||
function exit (cb) {
|
||||
// `exit` is called by `Incall.qml`.
|
||||
// The `incall` id can be null if the window was closed in this view.
|
||||
if (!incall) {
|
||||
return
|
||||
}
|
||||
|
||||
// It's necessary to call `showNormal` before close on MacOs
|
||||
// because the dock will be hidden forever!
|
||||
incall.visible = false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue