This commit is contained in:
2021-08-16 19:05:37 +08:00
parent 85aa4b1a71
commit 514562759b
-4
View File
@@ -75,10 +75,6 @@ class PDO
$this->stopHeartbeatCheck(); $this->stopHeartbeatCheck();
$this->pdo = null; $this->pdo = null;
} }
if (!$this->_pdo()->getAttribute(\PDO::ATTR_SERVER_INFO)) {
$this->stopHeartbeatCheck();
$this->pdo = null;
}
} catch (\Throwable $throwable) { } catch (\Throwable $throwable) {
error($throwable); error($throwable);
} }