[PR #2214] [MERGED] Fix unclosed session bug #16289

Closed
opened 2025-11-02 12:06:49 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2214
Author: @ethantkoenig
Created: 7/26/2017
Status: Merged
Merged: 7/26/2017
Merged by: @lunny

Base: masterHead: fix/sess_close


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 models/issue.go (+1 -1)

📄 Description

Make sure defer sess.Close() always gets hit.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2214 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 7/26/2017 **Status:** ✅ Merged **Merged:** 7/26/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/sess_close` --- ### 📝 Commits (1) - [`40774e1`](https://github.com/go-gitea/gitea/commit/40774e1f3638f99d3ccf819207ea8c9d088858c1) Fix unclosed session bug ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/issue.go` (+1 -1) </details> ### 📄 Description Make sure `defer sess.Close()` always gets hit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:06:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16289