Solved
I want to terminate the workflow.
I am trying to terminate the workflow but it keeps loaded as shown in image below for more than 2 hours. I waited long but couldn't find out the solution.

I am trying to terminate the workflow but it keeps loaded as shown in image below for more than 2 hours. I waited long but couldn't find out the solution.

Yeah it is from my custom code. By mistake I wrote do{} while(true);
You need to fix the code and redeploy the code. For now navigate to system/console/bundle and stop your project bundle.
Thanks!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.