Skip to content

Commit 0da6bd6

Browse files
Merge pull request #9 from AtlasSystems/feature/22775/DisposeWebClientsProperly
Dispose of WebClients properly.
2 parents 9217f86 + 7d9f27f commit 0da6bd6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Aeon-ArchivesSpace-Addon/Aeon-ArchivesSpace.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,8 @@ function SendApiRequest(apiPath, method, parameters, authToken)
759759
success, result = pcall(WebClientGet, webClient, apiPath);
760760
end
761761

762+
webClient:Dispose();
763+
762764
if (success) then
763765
LogDebug("API call successful");
764766
LogDebug("Response: " .. result);

Aeon-ArchivesSpace-Addon/Config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<Name>ArchivesSpace Interface</Name>
44
<Author>Atlas Systems, Inc.</Author>
5-
<Version>3.0.1</Version>
5+
<Version>3.0.2</Version>
66
<Active>True</Active>
77
<Type>Addon</Type>
88
<Description>This addon performs searches in ArchivesSpace using the staff interface. This addon supports ArchivesSpace versions v2.8.0 and later.</Description>

0 commit comments

Comments
 (0)