Skip to content

Commit

Permalink
force kill realm server
Browse files Browse the repository at this point in the history
  • Loading branch information
habdelra committed Jan 21, 2025
1 parent 6aef6b9 commit 09c3aa5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/matrix/helpers/isolated-realm-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,10 @@ export class IsolatedRealmServer {
this.workerManagerStopped = undefined;
this.workerManagerProcess.send('kill');

// worker manager seems to not not always be dying in CI, the ports are
// sometimes unavailable (perhaps worker manager HTTP server shutdown leaky
// realm and worker manager seems to not not always be dying in CI, the ports are
// sometimes unavailable (perhaps HTTP server shutdown leaky
// async?)
execSync(`kill -9 ${this.workerManagerProcess.pid}`);
execSync(`kill -9 ${this.realmServerProcess.pid}`);
}
}

0 comments on commit 09c3aa5

Please sign in to comment.