mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-23 02:31:39 +01:00
explicitly check for undefined
This commit is contained in:
parent
41a10d9697
commit
4030a4918d
@ -210,7 +210,7 @@ export class LogItem implements ILogItem {
|
||||
* @internal shouldn't typically be called by hand. allows to force finish if a promise is still running when closing the app
|
||||
*/
|
||||
finish(): void {
|
||||
if (!this.end) {
|
||||
if (this.end === undefined) {
|
||||
if (this._children) {
|
||||
for(const c of this._children) {
|
||||
c.finish();
|
||||
|
Loading…
x
Reference in New Issue
Block a user