Skip to content

Commit

Permalink
Add UseConsoleLifetime to SignalR host
Browse files Browse the repository at this point in the history
configuration
  • Loading branch information
rpardini committed Nov 6, 2023
1 parent 5dc27c7 commit aa55a1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fluidsignalr/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public static IHostBuilder CreateHostBuilder(string[] args)
Console.Out.WriteLine("Could not bind 5001: " + ignored.GetType().Name + ":" + ignored.Message);
}
});
});
})
.UseConsoleLifetime();
}
}
}

0 comments on commit aa55a1c

Please sign in to comment.