Wednesday, 15 February 2012

Possible memory leak in multiple asynchronous invocations of JS callbacks -



Possible memory leak in multiple asynchronous invocations of JS callbacks -

under circumstances, have create hundred of thousands asynchronous invocations of js callback in our plugin, ie. fb::jsobject::invokeasync(). noticed memory usage of our plugin, runs in separate process in firefox or chrome, keeps rising though don't maintain memory references info send (the js callback receives integer parameter). used valgrind track downwards place of memory leaks , if interpreting log output correctly, seems source of leaks comes entry function fb::jsobject::invokeasync(). known issues related firebreath memory leaks in multiple asynchronous invocations of js callbacks , how can prepare it?

memory-leaks callback firebreath

No comments:

Post a Comment