Skip to content

Commit 5cfe58b

Browse files
committed
Merge branch 'master' into master-improve-readability-11
2 parents 87b9241 + 8c5474b commit 5cfe58b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/ibatis/session/SqlSessionManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2021 the original author or authors.
2+
* Copyright 2009-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -333,7 +333,7 @@ public void close() {
333333
try {
334334
sqlSession.close();
335335
} finally {
336-
localSqlSession.set(null);
336+
localSqlSession.remove();
337337
}
338338
}
339339

0 commit comments

Comments
 (0)