Skip to content

Commit 72c092c

Browse files
committed
Minor change
1 parent 08b623e commit 72c092c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/G4.Bots.Monitor/Program.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,7 @@
157157
connection.On("StopMonitor", () => Environment.Exit(0));
158158

159159
// Exits the application when the SignalR hub sends a "stop" message
160-
connection.On("StopBot", () =>
161-
{
162-
// Close bot /stop
163-
Environment.Exit(0);
164-
});
160+
connection.On("StopBot", () => Environment.Exit(0));
165161

166162
// Keep the application running
167163
await Task.Delay(Timeout.Infinite, cancellationTokenSource.Token);

0 commit comments

Comments
 (0)