merryyellow / Unity-Code-Assist

1 stars 0 forks source link

ObjectDisposedException at AdornmentManager.CreateVisualsAsync #22

Closed sapsari closed 1 year ago

sapsari commented 1 year ago

System.ObjectDisposedException Cannot access a disposed object. Object name: 'FormattedLine'.

Stack: Crashed in non-app: void FormattedLine.ThrowIfInvalid() System

D:\Develop\UnityCodeAssist\src\UnityCodeAssist\AdornmentText\AdornmentManager.cs in async Task AdornmentManager.CreateVisualsAsync(ITextViewLine line, int lineNumber) at line 362:25 In App

Assembly: UnityCodeAssistAdornmentText Version: 1.1.1.0

Breadcrumb: exception System.ObjectDisposedException: Cannot access a disposed object. Object name: 'FormattedLine'. Error 20:58:14 generic GetTextViewLineContainingBufferPosition line22:"Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine" debug 20:58:14 generic GetTextViewLineContainingBufferPosition lineNo:51 debug 20:58:14 generic UpdateAdornmentControls Pass GetTextViewLineContainingBufferPosition debug 20:58:14 generic UpdateAdornmentControls Pass GetLineFromLineNumber debug 20:58:14 generic UpdateAdornmentControls Pass LineCount debug 20:58:14 generic GetTextViewLineContainingBufferPosition line22:"Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine" debug 20:58:12 generic GetTextViewLineContainingBufferPosition lineNo:51 debug 20:58:12