I create worker with emscripten_create_worker inside C++ code.
It is not an special error. When I try to get access to string member of 
class after passing to web worker. I just get TypeError: str is undefined. 
It happens only if I pass member of class in static library. If I pass 
class work fine.
среда, 9 августа 2017 г., 15:22:27 UTC+3 пользователь ilia.g...@gmail.com 
написал:
>
> Hi, in my code there are several static libraries which were written by 
> me. I want to use web workers inside this libraries. Is there any chance to 
> do this ?
> When I instantiate object from static lib in my main file and pass it to 
> web worker everything is ok, but when I do this inside static library I get 
> broken object.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to