1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 22:07:35 +00:00

SpiceAgent: Gracefully exit when the Spice server disconnects

This commit is contained in:
Timothy Flynn 2023-05-21 13:58:25 -04:00 committed by Andreas Kling
parent 36d61c01bc
commit 35fdc7f8c8
3 changed files with 13 additions and 1 deletions

View file

@ -62,6 +62,8 @@ public:
return {};
}
Function<void()> on_disconnected_from_spice_server;
private:
NonnullOwnPtr<Core::File> m_spice_device;
Vector<Capability> m_capabilities;