You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I somehow ended up with a corrupt .git directory (it was missing the refs dir). Upon opening the project, and then attempting to open any .cs file, my VS crashed due to an unhandled exception from Rx:
This line ends up throwing, and the exception is not handled.
I "worked around it" locally, by adding an args check in the Register method of FilesystemWatchCache, returning an empty observable instead. What would be a better solution?
The text was updated successfully, but these errors were encountered:
I somehow ended up with a corrupt
.git
directory (it was missing therefs
dir). Upon opening the project, and then attempting to open any .cs file, my VS crashed due to an unhandled exception from Rx:Upon further digging, it seems the problem originates in
FilesystemWatchCache
, where it attempts to create a FSW over a non-existing dir https://github.com/paulcbetts/SaveAllTheTime/blob/master/SaveAllTheTime/Models/FilesystemWatchCache.cs#L26This line ends up throwing, and the exception is not handled.
I "worked around it" locally, by adding an args check in the
Register
method ofFilesystemWatchCache
, returning an empty observable instead. What would be a better solution?The text was updated successfully, but these errors were encountered: