fix(tapbundle_serverside): add TapNodeTools cleanup hooks to stop SmartNetwork processes after tests
This commit is contained in:
@@ -83,6 +83,9 @@ export class ChromiumRuntimeAdapter extends RuntimeAdapter {
|
||||
throw new Error('Could not find a free WebSocket port in range 30000-40000');
|
||||
}
|
||||
|
||||
// Stop the smartnetwork instance to release the Rust bridge process
|
||||
await smartnetwork.stop();
|
||||
|
||||
// Log selected ports for debugging
|
||||
if (!this.logger.options.quiet) {
|
||||
console.log(`Selected ports - HTTP: ${httpPort}, WebSocket: ${wsPort}`);
|
||||
|
||||
Reference in New Issue
Block a user