Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 30515e8

Browse files
authored
Merge pull request #46 from cryogenian/try-finally
try-finally
2 parents 12eba86 + 392ecd8 commit 30515e8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ECharts/Event.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ exports.on_ = function(chart) {
9696
exports.dispatchAction_ = function(action) {
9797
return function(chart) {
9898
return function() {
99-
return chart.dispatchAction(action);
99+
try {
100+
return chart.dispatchAction(action);
101+
} finally {
102+
return;
103+
}
100104
};
101105
};
102106
}

0 commit comments

Comments
 (0)