mirror of https://github.com/ppy/osu
Return null IPC response for archive imports
This commit is contained in:
parent
fc3eb08452
commit
0d147b4ad9
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue