Bug workaround: avoid dereferencing DriverManager if ZdbcIntfs has already been finalized.

This commit is contained in:
rosenfield.albert
2009-03-12 20:19:52 +00:00
parent 62915ceb60
commit 4ba459b0f8

View File

@@ -167,6 +167,7 @@ begin
if FActive <> Value then
begin
FActive := Value;
if DriverManager = nil then Exit;
if Value then
DriverManager.AddLoggingListener(Self)
else DriverManager.RemoveLoggingListener(Self);