Quantcast
Channel: Background thread NSRunloop run does not exit after NSTimer is invalidated! Why? - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Cal for Background thread NSRunloop run does not exit after NSTimer is invalidated! Why?

$
0
0

I needed to read the documentation for [NSTimer invalidate].... This method must be called from the same thread in which the timer is installed. If you don't call it from the same thread the timer thread will not exit.


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>