vendredi 29 avril 2016

asyncstream close requirement

when i close the application from main activity i have the following question regarding the simplified code below.

1) do i need to close the asyncstream specifically when i stop the logger service?

i've read you should not reuse an asyncstream. however, since it is in the starter service (and assuming the starter service hasn't been killed) can i just initialize it again as shown?

Code:
  [starter service]
Sub Process_Globals
Public usb As UsbSerial
Public AStreamUsb As...
asyncstream close requirement

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1WvARdZ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire