You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
In our application we repeat creating the mjpegcanvas instance and discarding it.
I expect the instance can be discarded by mjpeg_canvas = null; ,
but the instance doesn't seem to be released by Garbage Collector,
and 6 or 7 repeats cause rendering stop. tork-a/visualization_rwt#92
Hello.
In our application we repeat creating the mjpegcanvas instance and discarding it.
I expect the instance can be discarded by
mjpeg_canvas = null;
,but the instance doesn't seem to be released by Garbage Collector,
and 6 or 7 repeats cause rendering stop.
tork-a/visualization_rwt#92
I doubt that the
setInterval()
is disturbing GC (https://reliablejavascript.com/2017/11/05/how-timer-intervals-can-leak-memory/),and I solved this problem by adding
clearInterval()
.How about adding destructor function with clearInterval()?
The text was updated successfully, but these errors were encountered: