Return null IPC response for archive imports

This commit is contained in:
Dan Balasescu 2021-11-28 22:59:49 +09:00
parent fc3eb08452
commit 0d147b4ad9
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ public ArchiveImportIPCChannel(IIpcHost host, ICanAcceptFiles importer = null)
: base(host)
{
this.importer = importer;
MessageReceived += msg =>
{
Debug.Assert(importer != null);
@ -25,6 +26,8 @@ public ArchiveImportIPCChannel(IIpcHost host, ICanAcceptFiles importer = null)
{
if (t.Exception != null) throw t.Exception;
}, TaskContinuationOptions.OnlyOnFaulted);
return null;
};
}