Repository navigation
fix: Exception when selecting text on destroyed component - #285
Conversation
|
The Trying to return something in some methods but not others would be inconsistent and can lead to hard to debug issues, because it hides the actual error. Renderables are built on top of these lower level apis, which have to deal with destroyed objects. In this case the IMO the selection logic in I would try to reproduce this in a test for the renderer selection logic in |
|
I see, I'll try to implement it that way. |
This reverts commit d4743b3.
|
@kommander Implemented according to your suggestion.
|
Fixes anomalyco/opencode#4099.