Permalink
Browse files

keep Class objects alive:

set its reference counting to 1 on initialization
  • Loading branch information...
NotFound committed Jun 12, 2012
1 parent 20656b9 commit 45d4693ad8a612ce3c9ea401b6e2c62970317e4e
Showing with 1 addition and 0 deletions.
  1. +1 −0 winxedxx.winxed
View
@@ -2177,6 +2177,7 @@ function emit_classst(out, clst)
static WxxClass * init_class()
{
WxxClass *cl = new WxxClass("%s");
+ cl->incref();
CLINIT:>>
, argname ));

0 comments on commit 45d4693

Please sign in to comment.