mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for createScheduler not cancel after closed. for issue #1758
This commit is contained in:
@@ -2001,6 +2001,10 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
||||
// addLast
|
||||
lock.lock();
|
||||
try {
|
||||
if (closed) {
|
||||
return;
|
||||
}
|
||||
|
||||
boolean emptyWait = true;
|
||||
|
||||
if (createError != null && poolingCount == 0) {
|
||||
|
||||
Reference in New Issue
Block a user