Esempio n. 1
0
 /// <summary>
 /// Notify clients of the given event.
 /// </summary>
 private void OnEventAsync(JdwpEvent @event)
 {
     Task.Factory.StartNew(() => JdwpEvent.Fire(this, @event))
     .ContinueWith(task =>
     {
         DLog.Error(DContext.DebuggerLibJdwpConnection, "OnEventAsync: Internal failure on event processing. IsCancelled={0}. Exception={1}", task.IsCanceled, task.Exception);
     },
                   TaskContinuationOptions.NotOnRanToCompletion);
 }
Esempio n. 2
0
 /// <summary>
 /// Notify clients of the given event.
 /// </summary>
 private void OnEventAsync(JdwpEvent @event)
 {
     Task.Factory.StartNew(() => JdwpEvent.Fire(this, @event));
 }