This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix unclosed session bug (
#2214
)
tags/v1.2.0-rc1
Ethan Koenig
Lunny Xiao
8 years ago
parent
a09267e4d7
commit
ab1c0d300c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/issue.go
+ 1
- 1
models/issue.go
View File
@@ -1097,8 +1097,8 @@ func Issues(opts *IssuesOptions) ([]*Issue, error) {
sess = x.Limit(setting.UI.IssuePagingNum, start)
} else {
sess = x.NewSession()
defer sess.Close()
}
defer sess.Close()
if len(opts.IssueIDs) > 0 {
sess.In("issue.id", opts.IssueIDs)
Write
Preview
Loading…
Cancel
Save