mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Send statistics at program end, not start.
This commit is contained in:
10
.idea/.idea.Aaru/.idea/contentModel.xml
generated
10
.idea/.idea.Aaru/.idea/contentModel.xml
generated
@@ -16,6 +16,16 @@
|
||||
<e p="$USER_HOME$/.nuget/packages/nunit3testadapter/3.15.1/build/netcoreapp2.0/nunit.engine.api.dll" t="Include" />
|
||||
<e p="$USER_HOME$/.nuget/packages/nunit3testadapter/3.15.1/build/netcoreapp2.0/nunit.engine.dll" t="Include" />
|
||||
<e p="$PROJECT_DIR$" t="IncludeFlat">
|
||||
<e p=".git/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/Aaru.Checksums/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/Aaru.CommonTypes/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/Aaru.Console/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/Aaru.Decoders/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/Aaru.Dto/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/Aaru.Helpers/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/CICMMetadata/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/cuetools.net/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".git/modules/cuetoolsnet/info/exclude" t="IncludeRecursive" />
|
||||
<e p=".github/CODE_OF_CONDUCT.md" t="Include" />
|
||||
<e p=".github/ISSUE_TEMPLATE.md" t="Include" />
|
||||
<e p=".github/PULL_REQUEST_TEMPLATE.md" t="Include" />
|
||||
|
||||
@@ -154,8 +154,6 @@ namespace Aaru
|
||||
|
||||
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||
|
||||
Statistics.SaveStats();
|
||||
|
||||
var rootCommand = new RootCommand
|
||||
{
|
||||
new Option(new[]
|
||||
@@ -189,7 +187,11 @@ namespace Aaru
|
||||
rootCommand.AddCommand(new ListNamespacesCommand());
|
||||
rootCommand.AddCommand(new RemoteCommand());
|
||||
|
||||
return rootCommand.Invoke(args);
|
||||
int ret = rootCommand.Invoke(args);
|
||||
|
||||
Statistics.SaveStats();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
internal static void PrintCopyright()
|
||||
|
||||
Reference in New Issue
Block a user