From 4f8fca8fa217661b5f75b1bb4c610c345d87fe98 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 20 Jan 2014 05:54:18 -0800 Subject: [PATCH] I do not remember why this was so overly complex. --- ObjectiveC/Library.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index a31c971..882ecac 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -391,9 +391,7 @@ JSObjectRef Instance::Make(JSContextRef context, id object, Flags flags) { Instance::~Instance() { if ((flags_ & Transient) == 0) - // XXX: does this handle background threads correctly? - // XXX: this simply does not work on the console because I'm stupid - [GetValue() performSelector:@selector(release) withObject:nil afterDelay:0]; + [GetValue() release]; } struct Message_privateData : -- 2.49.0