diff options
Diffstat (limited to 'src/gun.erl')
-rw-r--r-- | src/gun.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl index 7e468f3..b8030cf 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -1585,7 +1585,7 @@ owner_down(Reason, State) -> {stop, {shutdown, {owner_down, Reason}}, State}. terminate(Reason, StateName, #state{event_handler=EvHandler, event_handler_state=EvHandlerState, cookie_store=Store}) -> - case Store of + _ = case Store of undefined -> ok; %% Optimization: gun_cookies_list isn't a persistent cookie store. {gun_cookies_list, _} -> ok; |