diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-01-09 11:17:16 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-01-09 11:17:16 +0300 |
| commit | c1137914b90fd115909178ba8e037281708cfd9a (patch) | |
| tree | 8541542c8ddd138537c74292824e4f5647e1b8e8 /plugins/Import/src/main.cpp | |
| parent | 1c81465a63439cb37c3fbedb0ced3a839ded4a46 (diff) | |
UnregisterDatabasePlugin - a function to unload database driver on the flow
Diffstat (limited to 'plugins/Import/src/main.cpp')
| -rw-r--r-- | plugins/Import/src/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp index 875bb59419..8426b289ff 100644 --- a/plugins/Import/src/main.cpp +++ b/plugins/Import/src/main.cpp @@ -158,3 +158,11 @@ int CMPlugin::Load() RegisterJson();
return 0;
}
+
+int CMPlugin::Unload()
+{
+ UnregisterDbrw();
+ UnregisterMContacts();
+ UnregisterJson();
+ return 0;
+}
|
