Skip to content

Commit

Permalink
Close connection once finished
Browse files Browse the repository at this point in the history
  • Loading branch information
phpcontrols committed Aug 22, 2023
1 parent 695626e commit 0f78480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 405,8 @@ def prepare_grid(self):
session[app.config["GRID_SESSION_KEY"] "_" self.__jq_gridName "_sql_key"] = pickle.dumps(self.__col_edittypes)

finally:
pass #connection.close()
connection.close()
self.db.dispose()

return

Expand Down

0 comments on commit 0f78480

Please sign in to comment.