diff --git a/lib/UIKit/TUIView.m b/lib/UIKit/TUIView.m index 8a6d9c08..91d703b1 100644 --- a/lib/UIKit/TUIView.m +++ b/lib/UIKit/TUIView.m @@ -105,6 +105,7 @@ + (Class)layerClass - (void)dealloc { [self setTextRenderers:nil]; + _layer.delegate = nil; if(_context.context) { CGContextRelease(_context.context); _context.context = NULL;