[Gambas-bugtracker] Bug #2114: Add property to Settings class

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Mar 7 18:58:42 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2114&from=L21haW4-

Comment #2 by Michele V:

I am experimenting Gambas as main interface with raspberry PI ad display touch
The OS is not visible at user
When gambas program terminate or during use can happen the power supply is disconnetted.
Ext4 with journaling sometimes delay the writing on SD, it just so happened that the .conf file got corrupted
In this case I prefere to save the change in settings immediately ( with save method and using also the "sync" command to force the OS to write file on SD) and not at the end of application
Blocking the save metod in _free() routine seems the problem is solved
I thought that making this option the default might be useful for particular applications like mine 

Gambas is a great and very stable tool for create graphical application with raspberry PI and display touch
(using GPIO, serial interface, etc...)

Michele V changed the state of the bug to: Accepted.




More information about the Bugtracker mailing list