forked from Silverfish/proton-bridge
fix(GODT-2800): Pending Subscriptions Cleanup
Ensure pending subscriptions are cleaned up with `Service.Close()` or we can leak go routines.
This commit is contained in:
@ -62,8 +62,8 @@ type VaultEventIDStore struct {
|
||||
vault *vault.User
|
||||
}
|
||||
|
||||
func NewVaultEventIDStore(vault *VaultEventIDStore) *VaultEventIDStore {
|
||||
return &VaultEventIDStore{vault: vault.vault}
|
||||
func NewVaultEventIDStore(vault *vault.User) *VaultEventIDStore {
|
||||
return &VaultEventIDStore{vault: vault}
|
||||
}
|
||||
|
||||
func (v VaultEventIDStore) Load(_ context.Context) (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user