8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Fixed examples.

This commit is contained in:
hvlad 2018-03-13 20:24:46 +02:00
parent e5ba540295
commit 269ed73bfa
3 changed files with 9 additions and 0 deletions

View File

@ -56,6 +56,8 @@ public:
pluginManager = NULL; pluginManager = NULL;
} }
void threadDetach() {};
private: private:
IPluginManager* pluginManager; IPluginManager* pluginManager;
}; };

View File

@ -58,6 +58,8 @@ public:
pluginManager = NULL; pluginManager = NULL;
} }
void threadDetach() {};
private: private:
IPluginManager* pluginManager; IPluginManager* pluginManager;
}; };

View File

@ -47,6 +47,7 @@ Type
// TPluginModule implementation // TPluginModule implementation
procedure doClean; override; procedure doClean; override;
procedure threadDetach; override;
end; end;
TMyCrypt = class(IDbCryptPluginImpl) TMyCrypt = class(IDbCryptPluginImpl)
@ -115,6 +116,10 @@ begin
FRegistered := False; FRegistered := False;
end; end;
procedure TMyPluginModule.threadDetach;
begin
end;
procedure TMyPluginModule.registerMe; procedure TMyPluginModule.registerMe;
begin begin
if not FRegistered then if not FRegistered then