Thank you for providing us repro code. I'm still unable to reproduce on my Windows 10 machine but I was able to repro on Windows 7 machine. The issue we had logged previously for Windows 7 was also triple-tap/click and the customer's use case was identical to yours they'd restart editor after it has completed.
Instead of subscribing to MouseDoubleClick or GeoViewDoubleTapped right away, can you do this only prior to starting editor and unhooking when done? You can then use this task below for button clicked, SpatialReferenceChanged, or GeoViewDoubleTapped handler. I've seen this to prevent crash on Windows 7.
private async Task RestartDrawAsync()
{
try
{
this.MyMapView.GeoViewDoubleTapped += this.MyMapViewOnGeoViewDoubleTapped;
await this.MyMapView.SketchEditor.StartAsync(SketchCreationMode.Polyline).ConfigureAwait(true);
}
catch (TaskCanceledException)
{
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, ex.GetType().Name);
}
finally
{
this.MyMapView.GeoViewDoubleTapped -= this.MyMapViewOnGeoViewDoubleTapped;
}
}
Alternatively, you can mark event handled if SketchEditor is enabled/active
this.MyMapView.GeoViewTapped += (s, e) => { e.Handled = MyMapView.SketchEditor.IsEnabled && MyMapView.SketchEditor.CancelCommand.CanExecute(null); };