1
Vote

Canceling progress dialog takes too long

description

Repro steps:
1) run People Link query, add lots of people to make it run long
 
When a query blocks on a step, cancel has no effect until it gets past that step, because cancel is based on "stop points" in the query processing.
 
Fix:
When cancel is clicked, trigger the cancel query, then wait up to 2 seconds for a stop point to allow the query to exit cleanly. If it doesn't reach a stop point by then, kill the thread.

comments