Restructure THFMDataSource and fix potential crash
-
Restructure THFMDataSource and fix potential crash
Simplify the packet receive function to try receive 60 times, and reconnect after every failure. Also clear out the socket and available bytes marker on close().
-
Remove Thread in favor of a coroutine
-
Remove unnecessary permission