Replies: 1 comment 2 replies
-
|
You can use In terms of cleaning up the old modules we don't have a great testing story for that yet, but you handle all the C++ cleanup of the old stuff you should be able to make it work. I'm just not sure how good the JS dynamic loading code is at cleaning up all the references to the old code once you call In other words, I think it will work but if you load an unbounded amount of module you may eventually run out of memory. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I have a websocket client made with QWebsockets from QT and the Gui is on a different module (meaning a shared library loaded on runtime) that it generates a new Gui object on the heap and get a reference of the client to send messages getting the input of a text box and pass it to the websocket session to send to the server connected, is there a mechanism to load modules, or structure modules for a project compiled to webassembly that can be linked and unlink on the fly to load symbols and recreate an object from that module relinked? If it is or something similar, where can I find info about the topic? Or it is not possible? And thanks for your attention.
Beta Was this translation helpful? Give feedback.
All reactions