Skip to content

Commit 84645ab

Browse files
comment cleanup
1 parent cd89b6d commit 84645ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PyDictProxyHandler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ void PyDictProxyHandler::finalize(JS::GCContext *gcx, JSObject *proxy) const {
175175
if (state) {
176176
PyObject *self = JS::GetMaybePtrFromReservedSlot<PyObject>(proxy, PyObjectSlot);
177177
PyGILState_STATE state = PyGILState_Ensure();
178-
Py_DECREF(self); // this causes problems
178+
Py_DECREF(self);
179179
PyGILState_Release(state);
180180
}*/
181181
}

src/PyListProxyHandler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2106,7 +2106,7 @@ void PyListProxyHandler::finalize(JS::GCContext *gcx, JSObject *proxy) const {
21062106
if (state) {
21072107
PyObject *self = JS::GetMaybePtrFromReservedSlot<PyObject>(proxy, PyObjectSlot);
21082108
PyGILState_STATE state = PyGILState_Ensure();
2109-
Py_DECREF(self); // this causes problems
2109+
Py_DECREF(self);
21102110
PyGILState_Release(state);
21112111
}*/
21122112
}

0 commit comments

Comments
 (0)