From: Jay Freeman (saurik) Date: Mon, 20 Jan 2014 13:54:18 +0000 (-0800) Subject: I do not remember why this was so overly complex. X-Git-Tag: v0.9.500~21 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/4f8fca8fa217661b5f75b1bb4c610c345d87fe98 I do not remember why this was so overly complex. --- 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 :