Microsoft/vscode

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

Aperta

#106.879 aperta il 16 set 2020

 (21 commenti) (3 reazioni) (1 assegnatario)TypeScript (39.847 fork)batch import
bugconfirmedfile-iofile-watcherfreeze-slow-crash-leakhelp wantedmacosnodejsupstreamupstream-issue-pending

Metriche repository

Star
 (184.936 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor