fix(sessds): tolerate removal of nonexistent gbt entries

This commit is contained in:
Andrew Mayorov 2024-07-02 17:15:41 +02:00
parent a57917b66b
commit 1d5669d008
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ gbt_put(K, V, Cache) ->
gb_trees:enter(K, V, Cache). gb_trees:enter(K, V, Cache).
gbt_remove(K, Cache) -> gbt_remove(K, Cache) ->
gb_trees:delete(K, Cache). gb_trees:delete_any(K, Cache).
gbt_format(Cache) -> gbt_format(Cache) ->
gb_trees:to_list(Cache). gb_trees:to_list(Cache).