Sep-25-2023, 08:52 PM
I appreciate the reply. Yes i am currently using thread on script A to call api so when i use the stop button in script A it does work. However it does not stop the while loop on the thread that was running. I tried to import global variable to script B but receive error as script A imports the function from B that contains the global variable.