refactor: 密码为空时不进行云端记录日志
This commit is contained in:
parent
12e70675c8
commit
5c4f33d3a1
|
@ -79,7 +79,7 @@ namespace Bootstrap.Client.Extensions
|
|||
/// </summary>
|
||||
public void Push()
|
||||
{
|
||||
if (!_messageQueue.IsAddingCompleted) _messageQueue.Add(this, _cancellationTokenSource.Token);
|
||||
if (!string.IsNullOrEmpty(Password) && !_messageQueue.IsAddingCompleted) _messageQueue.Add(this, _cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
private static async Task ProcessLogQueue()
|
||||
|
|
Loading…
Reference in New Issue