mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
set global before informing of change so if there's a query result
will match what was sent
This commit is contained in:
parent
fde50cce32
commit
0ba0530bf3
1 changed files with 1 additions and 1 deletions
|
@ -118,12 +118,12 @@ public class NetStateCache {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( s_netAvail != netAvail ) {
|
if ( s_netAvail != netAvail ) {
|
||||||
|
s_netAvail = netAvail;
|
||||||
Iterator<StateChangedIf> iter = s_ifs.iterator();
|
Iterator<StateChangedIf> iter = s_ifs.iterator();
|
||||||
while ( iter.hasNext() ) {
|
while ( iter.hasNext() ) {
|
||||||
StateChangedIf proc = iter.next();
|
StateChangedIf proc = iter.next();
|
||||||
proc.netAvail( netAvail );
|
proc.netAvail( netAvail );
|
||||||
}
|
}
|
||||||
s_netAvail = netAvail;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue