Hi,
Just wondering, if you have a sub in a Service and you stop the service from the sub will the code after that then work?
For example:
Service1
Would the code run since the service has stopped ?
I understand that you need to have the service running to be able to run that sub in the service but just wondering if it would finish running that code or would it stop after the StopService part in the code since it was stopped ?
Just wondering, if you have a sub in a Service and you stop the service from the sub will the code after that then work?
For example:
Service1
B4X:
Sub RunMe
StopService("Service1")
' .. will this code run if It was placed here ..
End Sub
Would the code run since the service has stopped ?
I understand that you need to have the service running to be able to run that sub in the service but just wondering if it would finish running that code or would it stop after the StopService part in the code since it was stopped ?