[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:22:04 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 105d05fe22fb6a84939a257ef87b045370320a3a
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Jan 14 04:57:29 2004 +0000
Fixed 3528324.
The run loop that is used to execute JavaScript (in practice, always the main run loop) is held in a class variable. It is set and retained once and should not be released. Unfortunately is it being released when the 'root' object on a LiveConnect applet is released. This has the symptom of eventually causing an deallocation of the main run loop! Usually after about 5 instantiations/destructions of a LiveConnect applet. The CFRelease of the run loop was removed.
Reviewed by Hyatt.
* bindings/jni_jsobject.h:
(KJS::Bindings::RootObject::~RootObject):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index fce44c3..c0d66d1 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,14 @@
+2004-01-13 Richard Williamson <rjw at apple.com>
+
+ Fixed 3528324.
+
+ The run loop that is used to execute JavaScript (in practice, always the main run loop) is held in a class variable. It is set and retained once and should not be released. Unfortunately is it being released when the 'root' object on a LiveConnect applet is released. This has the symptom of eventually causing an deallocation of the main run loop! Usually after about 5 instantiations/destructions of a LiveConnect applet. The CFRelease of the run loop was removed.
+
+ Reviewed by Hyatt.
+
+ * bindings/jni_jsobject.h:
+ (KJS::Bindings::RootObject::~RootObject):
+
=== Safari-121 ===
=== Safari-120 ===
diff --git a/JavaScriptCore/bindings/jni_jsobject.h b/JavaScriptCore/bindings/jni_jsobject.h
index cce1261..4b56e14 100644
--- a/JavaScriptCore/bindings/jni_jsobject.h
+++ b/JavaScriptCore/bindings/jni_jsobject.h
@@ -50,7 +50,6 @@ public:
RootObject (const void *nativeHandle) : _nativeHandle(nativeHandle), _imp(0), _interpreter(0) {}
~RootObject (){
_imp->deref();
- CFRelease (_runLoop);
}
void setRootObjectImp (KJS::ObjectImp *i) {
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list