crash-protection patch for 'delayed' commands

Discussion about CodeLite development process and patches
Vokuhila-Oliba
CodeLite Curious
Posts: 5
Joined: Sun Dec 13, 2009 7:47 pm
Genuine User: Yes
IDE Question: c++
Contact:

crash-protection patch for 'delayed' commands

Post by Vokuhila-Oliba »

Hi Eran,

I had some crashes when I was working on a CVS plugin for codelite.

The crash is probably related to some delay when an external programs like cvs is called (or when the call fails - I am not quite sure)

This is very likely my own fault.

But I think it might be a good idea to protect against delayed/asynchronous issues like that - and I have created a small patch for it (see attachment 'delay-crash-protection.patch.zip').

The patch should be free of unwanted side-effects. And I would be very glad if you integrate it into codelite.

Please let me know if you prefer a different format.
Vokuhila-Oliba
CodeLite Curious
Posts: 5
Joined: Sun Dec 13, 2009 7:47 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: crash-protection patch for 'delayed' commands

Post by Vokuhila-Oliba »

here is the patch file
You do not have the required permissions to view the files attached to this post.
Post Reply