Fixed client disconnect and navigation glitch

This commit is contained in:
Dunemask 2022-08-14 19:23:37 +00:00
parent ecf0516b39
commit a3cb448a7b
8 changed files with 34 additions and 39 deletions

View file

@ -29,8 +29,6 @@ export default class TestResultsWorker extends Worker {
// Alter to start next test
// TODO the delay should be autopopulated either by the suite, or filled in by the server
if (pipeline) return this.pipelineTrigger(pipeline);
const { dashboardSocketId: dsi } = pipeline;
this.pipelineClose(dsi);
}
pipelineTrigger(pipeline) {
@ -38,7 +36,4 @@ export default class TestResultsWorker extends Worker {
this.skio.to(dsi).emit(evt.PPL_TRG, pipeline);
}
pipelineClose(socketId) {
this.skio.to(socketId).emit(evt.PPL_CLS);
}
}