mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
[323299] [files] remote file view adapter needs to use the latest version of IRemoteFile
-removed synchronize block to avoid any deadlock risk
This commit is contained in:
parent
7c53225970
commit
25cfe4b60b
1 changed files with 5 additions and 1 deletions
|
@ -761,7 +761,11 @@ public class SystemViewRemoteFileAdapter
|
|||
}
|
||||
}
|
||||
|
||||
synchronized (file){
|
||||
// taking out the synchronized block to avoid potential deadlock
|
||||
// TODO next release, find a risk-free way to avoid duplicate queries
|
||||
// synchronized (file)
|
||||
|
||||
{
|
||||
boolean hasChildren = file.hasContents(RemoteChildrenContentsType.getInstance(), filter);
|
||||
|
||||
if (hasChildren && !file.isStale())
|
||||
|
|
Loading…
Add table
Reference in a new issue