mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
优化日志事件接收方法, 修复启动控制器时没有清除上次启动的日志
This commit is contained in:
@@ -86,6 +86,7 @@ namespace Netch.Controllers
|
||||
}
|
||||
|
||||
Global.MainForm.StatusText(i18N.Translate("Starting ", pEncryptedProxyController.Name));
|
||||
pEncryptedProxyController.ClearLog();
|
||||
result = pEncryptedProxyController.Start(server, mode);
|
||||
}
|
||||
|
||||
@@ -112,6 +113,7 @@ namespace Netch.Controllers
|
||||
if (pModeController != null)
|
||||
{
|
||||
Global.MainForm.StatusText(i18N.Translate("Starting ", pModeController.Name));
|
||||
pModeController.ClearLog();
|
||||
result = pModeController.Start(server, mode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user