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)
|
: base(host)
|
||||||
{
|
{
|
||||||
this.importer = importer;
|
this.importer = importer;
|
||||||
|
|
||||||
MessageReceived += msg =>
|
MessageReceived += msg =>
|
||||||
{
|
{
|
||||||
Debug.Assert(importer != null);
|
Debug.Assert(importer != null);
|
||||||
|
@ -25,6 +26,8 @@ public ArchiveImportIPCChannel(IIpcHost host, ICanAcceptFiles importer = null)
|
||||||
{
|
{
|
||||||
if (t.Exception != null) throw t.Exception;
|
if (t.Exception != null) throw t.Exception;
|
||||||
}, TaskContinuationOptions.OnlyOnFaulted);
|
}, TaskContinuationOptions.OnlyOnFaulted);
|
||||||
|
|
||||||
|
return null;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue