aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Server/Program.cs')
-rw-r--r--ShiftOS.Server/Program.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs
index fa9ebee..5170ccd 100644
--- a/ShiftOS.Server/Program.cs
+++ b/ShiftOS.Server/Program.cs
@@ -155,13 +155,7 @@ namespace ShiftOS.Server
Console.WriteLine("FUCK. Something HORRIBLE JUST HAPPENED.");
};
- AppDomain.CurrentDomain.UnhandledException += (o, a) =>
- {
- if(server.IsOnline == true)
- server.Stop();
- System.Diagnostics.Process.Start("ShiftOS.Server.exe");
- };
-
+
server.OnReceived += (o, a) =>
{
var obj = a.Data.Object;
@@ -208,7 +202,6 @@ namespace ShiftOS.Server
task.Wait();
*/
- RandomUserGenerator.StartThread();
while (server.IsOnline)
{