diff --git a/src/playground/block_view.js b/src/playground/block_view.js index 1885eef113..20effeef37 100644 --- a/src/playground/block_view.js +++ b/src/playground/block_view.js @@ -946,7 +946,8 @@ Entry.BlockView = class BlockView { if (Entry.type === 'workspace' && !this.isInBlockMenu) { (block.events.viewDestroy || []).forEach((fn) => { if (_.isFunction(fn)) { - fn(block); + const notIncludeSelf = !!block?.thread?.acceptType; + fn(block, notIncludeSelf); } }); }