mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix deadlock when clearing all breakpoints.
This commit is contained in:
parent
e2c0f62d7d
commit
8f61e02fd9
1 changed files with 5 additions and 3 deletions
|
@ -444,9 +444,11 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
|
|||
ICBreakpoint breakpoint = null;
|
||||
synchronized( getBreakpointMap() ) {
|
||||
breakpoint = getBreakpointMap().getCBreakpoint( cdiBreakpoint );
|
||||
if ( breakpoint == null ) {
|
||||
breakpoint = createLocationBreakpoint( cdiBreakpoint );
|
||||
}
|
||||
}
|
||||
if ( breakpoint == null ) {
|
||||
breakpoint = createLocationBreakpoint( cdiBreakpoint );
|
||||
}
|
||||
synchronized( getBreakpointMap() ) {
|
||||
if ( breakpoint != null )
|
||||
getBreakpointMap().put( breakpoint, cdiBreakpoint );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue