forked from mystiq/hydrogen-web
explicitly check for undefined
This commit is contained in:
parent
41a10d9697
commit
4030a4918d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
* @internal shouldn't typically be called by hand. allows to force finish if a promise is still running when closing the app
|
||||||
*/
|
*/
|
||||||
finish(): void {
|
finish(): void {
|
||||||
if (!this.end) {
|
if (this.end === undefined) {
|
||||||
if (this._children) {
|
if (this._children) {
|
||||||
for(const c of this._children) {
|
for(const c of this._children) {
|
||||||
c.finish();
|
c.finish();
|
||||||
|
|
Loading…
Reference in a new issue