I m calling a NSOperation from a Subview of a NavigationController.
MyOperation *op = [[MyOperation alloc] target:self action:@selector(didFinishOperation)];
The Operation loads some data from a server, parses it and then sends a
[target performSelectorOnMainThread:action withObject:nil waitUntilDone:YES];
when the job is done. This is generally working...
The problem is when I push the back button from the navigation controller while the NSOperation is doing its job, the app crashes because the action references a deallocated instance.
I ve tried retaining the operation - but it still crashes...
Thanks in advance