mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
SQLServer: Add a hook to inform owners of disconnected SQL clients
This commit is contained in:
committed by
Linus Groh
parent
fbf9cb3387
commit
5ece0a13c4
@@ -38,6 +38,9 @@ ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSock
|
||||
void ConnectionFromClient::die()
|
||||
{
|
||||
s_connections.remove(client_id());
|
||||
|
||||
if (on_disconnect)
|
||||
on_disconnect();
|
||||
}
|
||||
|
||||
Messages::SQLServer::ConnectResponse ConnectionFromClient::connect(DeprecatedString const& database_name)
|
||||
|
||||
Reference in New Issue
Block a user