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 0122805 commit 26159d2Copy full SHA for 26159d2
toolkit/modules/LogManager.sys.mjs
@@ -384,12 +384,7 @@ export class LogManager {
384
filename,
385
this._log
386
);
387
- // It's not completely clear to markh why we only do log cleanups
388
- // for errors, but for now the Sync semantics have been copied...
389
- // (one theory is that only cleaning up on error makes it less
390
- // likely old error logs would be removed, but that's not true if
391
- // there are occasional errors - let's address this later!)
392
- if (reason == this.ERROR_LOG_WRITTEN && !this._cleaningUpFileLogs) {
+ if (!this._cleaningUpFileLogs) {
393
this._log.trace("Running cleanup.");
394
try {
395
await this.cleanupLogs();
0 commit comments