Checking interrupted status from inside a thread doesn't end the task/command

Description

The check needs to check and see if the main thread has been interrupted, not whatever thread the CFML code may be running in. This would apply to any use of arrayeach with parallel turned on, cfthread, or cbstreams.

When calling checkInterrupted() from a command or task, check the main thread by default. Also, allow a specific thread object to be passed in to see if that thread has been interrupted.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Fix versions

Priority

Sentry

Created January 25, 2019 at 7:05 PM
Updated January 25, 2019 at 7:07 PM
Resolved January 25, 2019 at 7:07 PM