diff --git a/plugins/block-shareable-procedures/src/blocks.ts b/plugins/block-shareable-procedures/src/blocks.ts index 0dc9ba5af..fcdcdc28e 100644 --- a/plugins/block-shareable-procedures/src/blocks.ts +++ b/plugins/block-shareable-procedures/src/blocks.ts @@ -361,7 +361,7 @@ const procedureDefUpdateShapeMixin = { this.moveInputBefore('STACK', 'RETURN'); } // Restore the stack, if one was saved. - this.statementConnection_?.(this, 'STACK'); + this.statementConnection_?.reconnect(this, 'STACK'); this.statementConnection_ = null; } else { // Save the stack, then disconnect it.