mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
crypto/machine: don't clear account on Destroy()
This commit is contained in:
parent
87fe127414
commit
5dbab3ae99
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ func (mach *OlmMachine) Destroy() {
|
|||
Str("account_ptr", fmt.Sprintf("%p", ptr.Val(mach.account).Internal)).
|
||||
Msg("Destroying olm machine")
|
||||
mach.cancelBackgroundCtx()
|
||||
mach.account = nil
|
||||
// TODO actually destroy something?
|
||||
}
|
||||
|
||||
func (mach *OlmMachine) saveAccount(ctx context.Context) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue