mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 10:00:25 +08:00
优化代码
This commit is contained in:
@@ -64,6 +64,11 @@ For:
|
||||
for {
|
||||
// closed
|
||||
if this.isClosed {
|
||||
if lastTx != nil {
|
||||
_ = lastTx.Commit()
|
||||
lastTx = nil
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user