SIMPLIFY bugger logic

This commit is contained in:
Norbert de Langen 2020-03-18 15:53:55 +01:00
parent 8c85bdd360
commit f863575875
No known key found for this signature in database
GPG Key ID: 976651DA156C2825

View File

@ -84,7 +84,7 @@ export class PostmsgTransport {
this.buffer.push({ event, resolve, reject });
});
}
if (frames.length && this.buffer.length) {
if (this.buffer.length) {
this.flush();
}