Closed atljeremy closed 9 years ago
The point of the NSStringFromClass was to preserve compatibility with OSes pre-dating CoreAnimation, but I think they can be dropped now so the code can be simplified more (no need for Class objects). Thanks for fixing the leak!
...ws were being created and added to an NSSet and never removed/released https://github.com/abyssoft/teleport/issues/10
Changes:
NSStringFromClass
function calls with a more concise call toclass
for bothCALayer
andCATransaction
.[NSNumber numberWithFloat:...]
method call with the Obj-C literal representation of simply@(...)
.TPEffectsWindows
were being created and stored in the_effectWindows
set but never removed/released. This happens every time you drag to the remote machine.