Skip to content

Commit 7bc9d34

Browse files
committed
[REL] v2.2.3
# v2.2.3 - [FIX] app: sync destroy everythig when app is destroyed
1 parent b1a3b32 commit 7bc9d34

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/owl.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5551,7 +5551,7 @@ function compile(template, options = {}) {
55515551
}
55525552

55535553
// do not modify manually. This file is generated by the release script.
5554-
const version = "2.2.2";
5554+
const version = "2.2.3";
55555555

55565556
// -----------------------------------------------------------------------------
55575557
// Scheduler
@@ -5708,8 +5708,8 @@ class App extends TemplateSet {
57085708
}
57095709
destroy() {
57105710
if (this.root) {
5711-
this.scheduler.flush();
57125711
this.root.destroy();
5712+
this.scheduler.processTasks();
57135713
}
57145714
window.__OWL_DEVTOOLS__.apps.delete(this);
57155715
}
@@ -5984,6 +5984,6 @@ TemplateSet.prototype._compileTemplate = function _compileTemplate(name, templat
59845984
export { App, Component, EventBus, OwlError, __info__, blockDom, loadFile, markRaw, markup, mount, onError, onMounted, onPatched, onRendered, onWillDestroy, onWillPatch, onWillRender, onWillStart, onWillUnmount, onWillUpdateProps, reactive, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, validate, validateType, whenReady, xml };
59855985

59865986

5987-
__info__.date = '2023-07-19T13:36:58.239Z';
5988-
__info__.hash = 'ea9f533';
5987+
__info__.date = '2023-07-20T06:05:29.796Z';
5988+
__info__.hash = 'b1a3b32';
59895989
__info__.url = 'https://github.com/odoo/owl';

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@odoo/owl",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "Odoo Web Library (OWL)",
55
"main": "dist/owl.cjs.js",
66
"module": "dist/owl.es.js",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// do not modify manually. This file is generated by the release script.
2-
export const version = "2.2.2";
2+
export const version = "2.2.3";

0 commit comments

Comments
 (0)