Only attempt to cancel query threads that are actually running.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=f7e8a2e6ed4c13911e8c39cb8a2be2401d4d18c9
Author: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Modified Files
--------------
pgadmin/ctl/ctlSQLResult.cpp | 39 ++++++++++++++++++++-----------------
pgadmin/debugger/dbgEvents.cpp | 2 +-
pgadmin/debugger/dlgDirectDbg.cpp | 30 ++++++++++++++++++----------
3 files changed, 42 insertions(+), 29 deletions(-)