Skip to content

Commit

Permalink
awd
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAIBot committed Aug 11, 2021
1 parent 7834659 commit 6623098
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ChiselDebuggerRazor/Code/Templates/RouteTemplator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ public void AddTemplateParameters(string moduleName, SimpleRouter router, Placem

WorkLimiter.AddWork(() =>
{
var wires = router.PathLines(placeInfo, cancelToken);
List<WirePath> wires;
if (!router.TryPathLines(placeInfo, cancelToken, out wires))
{
return;
}
if (cancelToken.IsCancellationRequested)
{
return;
Expand Down

0 comments on commit 6623098

Please sign in to comment.