-/* Cycript - Remote Execution Server and Disassembler
+/* Cycript - Inlining/Optimizing JavaScript Compiler
* Copyright (C) 2009 Jay Freeman (saurik)
*/
*/
/* }}} */
-#include "substrate.h"
#include "cycript.hpp"
#include "Pooling.hpp"
_syscall(close(socket_));
}
- void Handle() { _pooled
+ void Handle() {
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+
CYClient_ *client = [[[CYClient_ alloc] init] autorelease];
for (;;) {
if (!CYSendAll(socket_, json, size))
return;
}
+
+ [pool release];
}
};