diff --git a/UnityWaitOSRequest.cs b/UnityWaitOSRequest.cs deleted file mode 100644 index 911424d..0000000 --- a/UnityWaitOSRequest.cs +++ /dev/null @@ -1,19 +0,0 @@ -using OnlySocketHttp; -using UnityEngine; - -class UnityWaitOSRequest : CustomYieldInstruction -{ - RequestAsync mReqAsync; - public UnityWaitOSRequest(RequestAsync reqAsync) - { - mReqAsync = reqAsync; - } - ~UnityWaitOSRequest() - { - mReqAsync = null; - } - public override bool keepWaiting - { - get { return !mReqAsync.isDone; } - } -} \ No newline at end of file