Why is the Lightning console method workspaceAPI.closeTab() not working after keeping it open for 2 hours?
If we try to close the console tab after leaving it idle for approximately 2 hours, it doesn’t close. It will only close if the user launches the page and Cancels immediately. Why is this so?
Add a console.log in the catch function to log any issues regarding the Closetab.