fix unsetting method invocation

This commit is contained in:
Leonardo Venturini
2024-10-25 09:44:46 -04:00
parent 986ffcc789
commit f969ab9bb4

View File

@@ -1794,7 +1794,6 @@ Object.assign(Server.prototype, {
const options = args[0]?.hasOwnProperty('returnStubValue')
? args.shift()
: {};
DDP._CurrentMethodInvocation._set();
DDP._CurrentMethodInvocation._setCallAsyncMethodRunning(true);
const promise = new Promise((resolve, reject) => {
DDP._CurrentCallAsyncInvocation._set({ name, hasCallAsyncParent: true });