Skip to content

Commit

Permalink
Merge master onto staging v2 5 0 (#5195)
Browse files Browse the repository at this point in the history
* Update remaining artifact github actions to v4 (#5072)

* stops scanState meter on scan completion (#5108)

when started the Meter class sets an interval to update its underlying arrays.
if the meter is not stopped then this interval will keep running and keep the
meter in the heap and leaks the meter memory.

the WalletScanner creates a new ScanState and a new Meter for each scan. when
the wallet is at the head of the chain this creates a new scan each time a block
is added.

fixes the memory leak by ensuring that the ScanState Meter is stopped when the
scan completes and its interval function is cleared

* version bump for v2.4.1

---------

Co-authored-by: jowparks <[email protected]>
Co-authored-by: Rohan Jadvani <[email protected]>
Co-authored-by: Daniel Cogan <[email protected]>
Co-authored-by: Jason Spafford <[email protected]>
Co-authored-by: Derek Guenther <[email protected]>
Co-authored-by: Hugh Cunningham <[email protected]>
Co-authored-by: mat-if <[email protected]>
Co-authored-by: Hugh Cunningham <[email protected]>
  • Loading branch information
9 people authored Aug 1, 2024
1 parent db5ea25 commit 3a92e15
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 3a92e15

Please sign in to comment.