In my OBEX PUSH Client application, i have code as:
currentStream = ((RemoteService)services).Stream //(*)
Once (*) be executed, the alert will appears on mobile phone, i did not do any action (Yes,No) on mobile and exit application, but the application could not exit at all, it seem the thread of (*) still process. I must go to task manager to end it.
I put the break point on (*), and see that CODE2 will not executed until mobile return "Yes" or "No"
So my question is : if i can end stream of (*) with the other thread?
Or you may have the other advice to handle it?