Hi,
I'm using your component, and it fulfills every need I have for my project, thanks for that!
However, when I open the document many times, I'm facing memory problems. Looking at your code, I can see the "close" function, but I'm not sure if it's beeing called - I would say no because I put a log there and it didn't show up in the console.
Can you please provide some guidance on this topic? I would like, at least, to make sure the the worker is destroyed.
I tried to do it manually with these lines:
But then I see this error in the console:
Once I see the worker, it's still active.
Best regards,
Ricardo Pedroso.