mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Revert "Close pgsql ports on ejabberd_sql process termination (#2541)"
This reverts commit 404ae56e07
.
This commit is contained in:
parent
7008ae231c
commit
c4d45ec08c
1 changed files with 0 additions and 1 deletions
|
@ -450,7 +450,6 @@ handle_info(Info, StateName, State) ->
|
|||
|
||||
terminate(_Reason, _StateName, State) ->
|
||||
case State#state.db_type of
|
||||
pgsql -> catch pgsql:terminate(State#state.db_ref);
|
||||
mysql -> catch p1_mysql_conn:stop(State#state.db_ref);
|
||||
sqlite -> catch sqlite3:close(sqlite_db(State#state.host));
|
||||
_ -> ok
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue