[Geany-devel] multiple instance save-settings - Re: Race condition when saving geany.conf

Dimitar Zhekov hamster at xxxxx
Thu May 20 08:32:23 UTC 2010


On Wed, 19 May 2010 22:13:40 +0400
Eugene Arshinov <earshinov at gmail.com> wrote:

> Or, as another option, we can remove automatic saving of
> preferences when closing.

I second that.

> As preferences are saved immediately after Preferences dialog is
> closed, this option wouldn't do any harm. Or would it?

If you think about not saving the configuration at all... The recent
files/projects, the current project name, and (depending on the
options) the file list still need to be saved. Which is easy to do,
but won't solve the race condition.

(BTW, I thought that the Apply button in the Preferences dialog only
applies the options temporarily, but it saves them.)

-- 
E-gards: Jimmy



More information about the Devel mailing list