Skip to content

Static create*FuncWrapper()

username-removed-547784 requested to merge feature/staticCreateFuncWrapper into master

Makes Promise::createThenFuncWrapper() and Promise::createNotifyFuncWrapper() static to prevent that the Promise is used in the created lambdas as the promise might not exist any more when the lambda are called causing crashes.

And it fixes the intendation of Promise.h.

Merge request reports