We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 539a5c4 commit 0ea1063Copy full SHA for 0ea1063
redisinsight/api/src/modules/profiler/providers/log-file.provider.ts
@@ -40,10 +40,10 @@ export class LogFileProvider implements OnModuleDestroy {
40
const logFile = await this.get(id);
41
const stream = await logFile.getReadStream();
42
43
- // stream.once('end', () => {
44
- // stream.destroy();
45
- // logFile.destroy();
46
- // });
+ stream.once('end', () => {
+ stream.destroy();
+ // logFile.destroy();
+ });
47
48
return { stream, filename: logFile.getFilename() };
49
}
0 commit comments