Microsoft/vscode

macOS: Crash when using `fs.watch` for network drives

Open

#106,879 opened on 2020年9月16日

GitHub で見る
 (21 comments) (3 reactions) (1 assignee)TypeScript (74,848 stars) (10,221 forks)batch import
bugconfirmedfile-iofile-watcherfreeze-slow-crash-leakhelp wantedmacosnodejsupstreamupstream-issue-pending

説明

On MacOS 10.15 when a file is open from an SMB share if connection t othe SMB share is lost the entire editor crashes.

To repro: Open finder and Connect to Server open a file from the mapped SMB drive in VS Code disconnect the network return to VS Code VS Code crashes

Expected behavior would be 'file no longer exists' or something similar

コントリビューターガイド