Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

onStop handler failing #2

Open
Danielv123 opened this issue Nov 14, 2021 · 0 comments
Open

onStop handler failing #2

Danielv123 opened this issue Nov 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Danielv123
Copy link
Member

Sometimes stopping the server fails with the following message:

image

using clusterio/clusterio/pull/425

This is caused by something here:

edge_transports/instance.js

Lines 254 to 262 in f0245d3

async onStop() {
await this.info.messages.ensureEdgesDeactivated.send(this.instance, { instance_id: this.instance.id });
await this.sendRcon('/sc edge_transports.set_active_edges("[]")')
for (let edge of this.edges.values()) {
edge.messageTransfer.cancel();
edge.commandTransfer.cancel();
}
}

@Danielv123 Danielv123 added the bug Something isn't working label Nov 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant