mirror of https://github.com/quasar/Quasar.git
Fixed bug
The webcam on the client side was not turning off if the window 'Remote Webcam' was closed.
This commit is contained in:
parent
f8908193a9
commit
02a6233863
|
@ -100,6 +100,8 @@ namespace xServer.Forms
|
||||||
|
|
||||||
private void FrmRemoteWebcam_FormClosing(object sender, FormClosingEventArgs e)
|
private void FrmRemoteWebcam_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
{
|
{
|
||||||
|
new Core.Packets.ServerPackets.DoWebcamStop().Execute(_connectClient);
|
||||||
|
|
||||||
if (_connectClient.Value != null)
|
if (_connectClient.Value != null)
|
||||||
_connectClient.Value.FrmWebcam = null;
|
_connectClient.Value.FrmWebcam = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue