Commit 1b111df2 authored by Michael Droettboom's avatar Michael Droettboom

Fix destroy

parent 33e51f59
......@@ -169,7 +169,7 @@ EM_JS(int, pyproxy_init, (), {
return jsobj['$$'];
} else if (jskey === 'destroy') {
return function() {
__pyproxy_destroy(this.getPtr(jsobj));
__pyproxy_destroy(ptrobj);
jsobj['$$']['ptr'] = null;
}
} else if (jskey == 'apply') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment