[FIX] component: properly handle mounting a destroyed component

part of #685
This commit is contained in:
Géry Debongnie
2020-04-22 09:20:54 +02:00
committed by aab-odoo
parent c36333dbbc
commit 559fadb62a
3 changed files with 26 additions and 4 deletions
+4 -4
View File
@@ -1,16 +1,16 @@
import { Component, Env } from "../../src/component/component";
import { EventBus } from "../../src/core/event_bus";
import { useRef, useState } from "../../src/hooks";
import { QWeb } from "../../src/qweb/qweb";
import { xml } from "../../src/tags";
import { useState, useRef } from "../../src/hooks";
import { EventBus } from "../../src/core/event_bus";
import {
editInput,
makeDeferred,
makeTestFixture,
makeTestEnv,
makeTestFixture,
nextMicroTick,
nextTick,
normalize,
editInput,
} from "../helpers";
//------------------------------------------------------------------------------