Sikulix hanging on region.exists(target,timeout),screen.exists(target,timeout) method, Region or Screen
Asked by
johnny doe
Hello sometimes when I run my bot in java it hangs in the method exists for unknown reason. Must be a unchecked loop without a timeout. My current workaround is wrap the exist method in ExecutorService and exit the function for 2 seconds if stuck. Would be better if it does not need ExecutorService because it eats cpu resources.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- johnny doe
- Solved:
- Last query:
- Last reply:
To post a message you must log in.