Konnor Klashinsky

Results 13 comments of Konnor Klashinsky

Hi, first time contributor here :wave:. Gonna give this issue a try. My initial approach is to ensure `db.Close()` and `os.RemoveAll(tempPath)` is done on any case where `initSwitchWithDB` is called,...

Our Electron (v8.5.1) application, called 'Exodus', is encountering a bug when using Electron's `AutoUpdater.quitAndInstall` method on the MacOS 11 Big Sur beta. The app quits and installs the update successfully,...

Noticing there are a few other resources which aren't cleaned up, beyond the scope of #6707. Putting this in draft until I can clean that up as well.

Fixed. Now all temp files created in `htlcswitch` are closed & cleaned up.

Rebased on `master`, and updated `initSwitchWithTempDB` to use `t.TempDir()` in the same fashion as #6710.

> this might have already (partially) been addressed by https://github.com/lightningnetwork/lnd/pull/6710. This PR is still needed to ensure test file descriptors are closed, as that was the original intent behind issue...

@yyforyongyu Glad to help! Rebased & squashed :)

@yyforyongyu Should i submit review changes with fixup commits, or always keep everything squashed into one commit? (docs suggest the former)

Hi there, I have also encountered this crash. I was running KeyDB as a systemd service. Logs, config file and systemd unit file are attached: [keydb-debugging.zip](https://github.com/Snapchat/KeyDB/files/10668321/keydb-debugging.zip)