Skip to content

Commit

Permalink
Clear log lines before calling callback
Browse files Browse the repository at this point in the history
  • Loading branch information
iwiznia committed Jul 29, 2021
1 parent 5d69f59 commit 1861959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Logger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default class Logger {
delete l.onlyFlushWithOthers;
return l;
});
const promise = this.serverLoggingCallback({api_setCookie: false, logPacket: JSON.stringify(linesToLog)});
this.logLines = [];
const promise = this.serverLoggingCallback({api_setCookie: false, logPacket: JSON.stringify(linesToLog)});
if (!promise) {
return;
}
Expand Down

0 comments on commit 1861959

Please sign in to comment.