Commit 44fa9977 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(IncallFullscreenWindow): avoid invalid access to incall id

parent 3c205c70
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment