Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
HAM-2015 committed Sep 25, 2020
1 parent 01bc2f9 commit 7164e45
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions CsGo/Go/generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4027,42 +4027,6 @@ private Action<csp_invoke_wrap<R>> async_csp_invoke<R>(async_result_wrap<csp_inv
};
}

private Action<csp_invoke_wrap<R>> async_csp_invoke<R>(delay_csp<csp_invoke_wrap<R>> res, Action<R> lostRes)
{
_pullTask.new_task();
bool beginQuit = _beginQuit;
return delegate (csp_invoke_wrap<R> cspRes)
{
if (strand.running_in_this_thread() && !_mustTick)
{
if (!_isStop && _beginQuit == beginQuit)
{
res.SetResult(cspRes);
no_check_next();
}
else if (chan_state.ok == cspRes.state)
{
functional.catch_invoke(lostRes, cspRes.result);
}
}
else
{
strand.post(delegate ()
{
if (!_isStop && _beginQuit == beginQuit)
{
res.SetResult(cspRes);
no_check_next();
}
else if (chan_state.ok == cspRes.state)
{
functional.catch_invoke(lostRes, cspRes.result);
}
});
}
};
}

private async Task<csp_invoke_wrap<R>> csp_invoke_<R, T>(async_result_wrap<csp_invoke_wrap<R>> res, csp_chan<R, T> chan, T msg, chan_lost_msg<T> lostMsg)
{
try
Expand Down

0 comments on commit 7164e45

Please sign in to comment.