Update Log to use worker thread
This commit is contained in:
@@ -39,6 +39,18 @@ namespace OpenRA
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
Run(args);
|
||||
}
|
||||
finally
|
||||
{
|
||||
Log.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
static void Run(string[] args)
|
||||
{
|
||||
var engineDir = Environment.GetEnvironmentVariable("ENGINE_DIR");
|
||||
if (!string.IsNullOrEmpty(engineDir))
|
||||
|
||||
Reference in New Issue
Block a user