gnucash stable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sat May 10 21:15:39 EDT 2025
Updated via https://github.com/Gnucash/gnucash/commit/6941abee (commit)
via https://github.com/Gnucash/gnucash/commit/889a4dde (commit)
from https://github.com/Gnucash/gnucash/commit/ff759c26 (commit)
commit 6941abeea7f7720e1c879db283abc052336f8a33
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 10 18:14:48 2025 -0700
Mortgage Assistant: Handle daily payments
That case was left out of the payments-per-year calculation.
commit 889a4dde956d623ed184fd9b1ce97e96d2998f66
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 10 15:12:14 2025 -0700
Mortgage assistant: Avoid crash when returning to the repayment page.
And as a side benefit don't leak signal handlers for the repGncFreq
changed signal.
The crash occured because gnc_frequency_setup_recurrence first calls
gnc_date_edit_set_gdate which emits a changed signal that, if it
wasn't the first call to loan_rep_prep would call
update_repayment_formula_cb and that would generate a new recurrences
list. But the still running gnc_frequency_setup_recurrence still had a
pointer to the old list and when it tried to manipulate it it would
crash.
This change disconnects the previous signal handler preventing the
list from being replaced.
Summary of changes:
gnucash/gnome/assistant-loan.cpp | 14 ++++++++++++--
libgnucash/engine/Recurrence.cpp | 3 +--
2 files changed, 13 insertions(+), 4 deletions(-)
More information about the gnucash-patches
mailing list