Servoy 7 error with Continuations

I’ve noticed we now get a new error showing up in the console in developer when using continuations. For example, the sample solution posted here by Paul: viewtopic.php?f=56&t=16189

On the line:

new Packages.org.mozilla.javascript.continuations.Continuation()()

You get the error in the console:

TypeError: [JavaPackage org.mozilla.javascript.continuations.Continuation] is not a function, it is object

Everything seems to work properly, but it just shows that error in the console. Ideas?

Is the continuation still working?

The Dialogs-module on Servoyforge is a good example for Continuations:
https://www.servoyforge.net/projects/mo … globals.js

new Packages.org.mozilla.javascript.continuations.Continuation()() is not used anymore.