fix AsyncDownloader class not code completing in my IDE

This commit is contained in:
UnknownShadow200 2018-07-07 21:49:59 +10:00
parent 3286f3e7ee
commit cca865ce0c

View File

@ -12,13 +12,12 @@ using Android.Graphics;
namespace ClassicalSharp.Network {
#if !LAUNCHER
#if LAUNCHER
public interface IGameComponent { }
#endif
/// <summary> Specialised producer and consumer queue for downloading data asynchronously. </summary>
public class AsyncDownloader : IGameComponent {
#else
/// <summary> Specialised producer and consumer queue for downloading data asynchronously. </summary>
public class AsyncDownloader {
#endif
EventWaitHandle handle = new EventWaitHandle(false, EventResetMode.AutoReset);
Thread worker;
@ -146,7 +145,7 @@ namespace ClassicalSharp.Network {
handle.Set();
worker.Join();
((IDisposable)handle).Dispose();
handle.Close();
}
#if !LAUNCHER