mirror of https://github.com/quasar/Quasar.git
Remote Desktop form bug fix
If a client unexpectedly disconnects from the server while rdp is running, `client.Value` can be nulled before the `SurveillanceHandler` reaches this check
This commit is contained in:
parent
328200ad09
commit
9f91971009
|
@ -38,7 +38,7 @@ public static void HandleGetDesktopResponse(Client client, GetDesktopResponse pa
|
|||
|
||||
packet.Image = null;
|
||||
|
||||
if (client.Value.FrmRdp != null && client.Value.FrmRdp.IsStarted)
|
||||
if (client.Value != null && client.Value.FrmRdp != null && client.Value.FrmRdp.IsStarted)
|
||||
new GetDesktop(packet.Quality, packet.Monitor).Execute(client);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue