Rename connection shutdown to prepare disconnect

Rename the shutdownConnection request to prepareDisconnect to better
reflect its actual purpose.
This commit is contained in:
Hornwitser committed 2020-04-09 16:17:38 +02:00
1 parent e7d1039942
commit 47ea8f5477
7 files changed
+18 -17

No files matched your search

+1 -1
View File
@@ -740,7 +740,7 @@ class Slave extends link.Link {
}
async shutdown() {
await link.messages.shutdownConnection.send(this);
await link.messages.prepareDisconnect.send(this);
for (let instanceId of this.instanceConnections.keys()) {
await this.stopInstance(instanceId);
}