diff runtime.h @ 62:2b5696b91b01

Fixed a bug whereby some objects wouldn't be finalized when a runtime was destroyed.
author Atul Varma <varmaa@toolness.com>
date Sat, 25 Jul 2009 22:51:20 -0700
parents bc4263c6ae82
children 345d4c0e3dd3
line wrap: on
line diff
--- a/runtime.h	Sat Jul 25 16:14:03 2009 -0700
+++ b/runtime.h	Sat Jul 25 22:51:20 2009 -0700
@@ -44,6 +44,7 @@
 typedef struct {
   PyObject_HEAD
   JSRuntime *rt;
+  JSContext *cx;
   JSDHashTable objects;
 } PYM_JSRuntimeObject;