Tags: hellerf/EmbeddableWebServer
Tags
When Objective-C is in use, create an @autoreleasepool around the cre… …ateResponseForRequest function. Notably, even with the absence of an @autoreleasepool, the Leaks finder did not complain when I used an autoreleased object. However, the documentation clearly states that autorelease pools are required in threads.https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/CreatingThreads/CreatingThreads.html