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

onStop handler failing #2

@Danielv123

Description

@Danielv123

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();
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions