Skip to content

Commit 132917f

Browse files
committed
style(MongoInstance): _launchKiller: remove commented-out code
1 parent c67ee8f commit 132917f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

packages/mongodb-memory-server-core/src/util/MongoInstance.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -345,20 +345,6 @@ export class MongoInstance extends EventEmitter {
345345
}
346346
);
347347

348-
// killer.stdout?.on('data', (data) => {
349-
// this.debug(`[MongoKiller]: ${data}`);
350-
// });
351-
352-
// killer.stderr?.on('data', (data) => {
353-
// this.debug(`[MongoKiller]: ${data}`);
354-
// });
355-
356-
// ['exit', 'message', 'disconnect', 'error'].forEach((type) => {
357-
// killer.on(type, (...args) => {
358-
// this.debug(`[MongoKiller]: ${type} - ${JSON.stringify(args)}`);
359-
// });
360-
// });
361-
362348
killer.unref(); // dont force an exit on the fork when parent is exiting
363349

364350
this.emit(MongoInstanceEvents.killerLaunched);

0 commit comments

Comments
 (0)