Fix memory leak. It was only a missing HandleScope in Emit()!
This change also tries to optimize Emit by looping through the listeners in C++. The javascript version of this function is still there and being used, but only by javascript code. Not an ideal solution - there should only be one implementation - however for now it seems to help. This doesn't solve all of the memory leaks that we're experiencing, there seems to be another subtle problem.
parent
78aaf8df
Please register or sign in to comment