Shutdown camera when closing waiting room.

This commit is contained in:
Julien Wadel 2022-07-28 15:55:19 +02:00
parent 4b8355901f
commit 4cb92069fd

View file

@ -37,6 +37,11 @@ Rectangle {
Component.onDestruction: {mainItem.previewLoaderEnabled = false;_sipAddressObserver=null}// Need to set it to null because of not calling destructor if not.
Connections{
target:window
onClosing: mainItem.close()
}
ColumnLayout {
anchors.fill: parent
ColumnLayout{