|
||
|
|||||||
| Other Cant find a category above, use this one! Core mods not listed above go here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Sep 2004
Age: 37
Posts: 1,006
|
Here's a silly little fix that I just noticed that someone might be interested in.
In RunUO 1.0, Main.cs Line 628, originally: Code:
timerThread.Join();
Console.WriteLine( "done" );
System.Threading.ThreadStateException was unhandled Message="Thread has not been started." Source="mscorlib" StackTrace: at System.Threading.Thread.JoinInternal() at System.Threading.Thread.Join() at Server.Core.HandleClosed() at Server.Core.CurrentDomain_ProcessExit(Object sender, EventArgs e) here's something that I came up with in five minutes to "fix" this little issue: Code:
if (timerThread.ThreadState == System.Threading.ThreadState.Running)
timerThread.Join();
else
timerThread.Abort();
*shrug* Takes care of the Exception at least. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|