Skip to content

Commit cec43a1

Browse files
Merge branch 'hotfix/v0.16.2'
2 parents f8e4d2d + 41213be commit cec43a1

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ef-core",
3-
"version": "0.16.0",
3+
"version": "0.16.2",
44
"description": "Core of ef.js (without parser)",
55
"main": "dist/ef-core.min.js",
66
"module": "src/ef-core.js",

src/ef-core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const create = (ast, name) => {
104104
return EFComponent
105105
}
106106

107-
let coreVersion = '0.16.0'
107+
let coreVersion = '0.16.2'
108108

109109
if (process.env.NODE_ENV !== 'production') {
110110
coreVersion = `${coreVersion}+debug`

src/lib/render-queue.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ARR from './utils/array-helper.js'
2+
13
const userQueue = []
24
let count = 0
35

@@ -77,7 +79,9 @@ const inform = () => {
7779
}
7880

7981
const execUserQueue = () => {
80-
for (let i of userQueue) i()
82+
const _userQueue = ARR.copy(userQueue)
83+
ARR.empty(userQueue)
84+
for (let i of _userQueue) i()
8185
}
8286

8387
/**

0 commit comments

Comments
 (0)