[Webkit-unassigned] [Bug 75984] QWebView leaks memory when QObject signal is connected to javascript slot
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 28 02:39:15 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=75984
anat sarig <anat.sarig at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anat.sarig at gmail.com
--- Comment #7 from anat sarig <anat.sarig at gmail.com> 2013-01-28 02:41:12 PST ---
My C++ side performs the following before emiting a signal to JS :
evaluateJavaScript(CloseBridge())
addToJavaScriptWindowObject(myBridgeObject)
evaluateJavaScript(InitBridge())
JS CloseBridge():
myBridgeObject.mySignal.disconnect
myBridgeObject = null
JS InitBridge()
myBridgeObject.mySignal.connect(mySlot)
What I see that on every mySignal the slot mySlot is invoked and memory consumption rise high (I pass QImage in the signal).
So I guess I did not understand the work around.
Can you please elaborate ?
Thanks.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list