# HG changeset patch # User Thinker K.F. Li # Date 1283013132 -28800 # Node ID 194e24d8ecab7e9e3aa8c212f88123892922ff8e # Parent 69ee361bf259a86fed447e58a66616d35b88cf04 Delete weak handle for shape objects before GC diff -r 69ee361bf259 -r 194e24d8ecab nodejs/shapes.cc --- a/nodejs/shapes.cc Sat Aug 28 23:19:36 2010 +0800 +++ b/nodejs/shapes.cc Sun Aug 29 00:32:12 2010 +0800 @@ -41,6 +41,8 @@ rdman = xnjsmb_rt_rdman(js_rt); rdman_shape_changed(rdman, shape); rdman_shape_free(rdman, shape); + + delete self_hdl; } static void