Fixed crash in execution dialog - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Fixed crash in execution dialog
Date
Msg-id CANxoLDdqCSTQ1K5KoAyH-r5cJsJf+a-5tmVPLkj-0ybEmYHX9Q@mail.gmail.com
Whole thread Raw
Responses Re: Fixed crash in execution dialog  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Dave 

Today I have fixed one crash in execution dialog. The bug is reproducible by performing following steps:
  1. Connect to any database server.
  2. Right click on the database(big in size) and select maintenance.
  3. Start taking maintenance and click the cancel button.
  4. After clicking on cancel, immediately click on cross (x) button.
With the above steps Abort() function gets called twice on from cancel event and another from close event. Attached is the patch file. Please review it and if it looks good to you then can you please commit it. 

--
Akshay Joshi
Senior Software Engineer 
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246
Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: pgAdmin Event Trigger Compatibility
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: Keep better track of when external process threads