> Now it seems that multiple runtimes cannot live on one thread together
I took a closer look on the problem and now it seems like a showstopper for me. Let's say I run a modal dialog from JS callback. Then I press a button in the dialog and want to run some JS action on another JSRuntime. Here goes showstopper. I cannot do JS_ClearRuntimeThread on original JSRuntime because it is asserting that there are no active requests (request is active because I still in the callback). And I cannot just use another JSRuntime because it is asserting that there is no JSRuntime associated with current thread. I'm stuck.
I cannot use a single JSRuntime for the whole application (I must control separately memory consumption by different windows). And I cannot use separate threads for different windows (without major GUI reorganizing). Please help!