Version 1.4: SyncTarget syncOnExit property is meaningful now.
This commit is contained in:
parent
68ce5bb272
commit
4992d7cac9
@ -1,5 +1,5 @@
|
|||||||
#Fri, 13 Sep 2013 08:25:17 -0500
|
#Fri, 13 Sep 2013 09:24:08 -0500
|
||||||
name=timestamper-lib
|
name=timestamper-lib
|
||||||
version=1.3
|
version=1.4
|
||||||
lib.local=true
|
lib.local=true
|
||||||
build.number=10
|
build.number=1
|
||||||
|
Binary file not shown.
@ -99,7 +99,10 @@ public class SyncTarget {
|
|||||||
return syncPerformed;
|
return syncPerformed;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void shutdown() {
|
public void shutdown() throws IOException {
|
||||||
|
// TODO: move this onto the timer thread?
|
||||||
|
if (syncOnExit) sync();
|
||||||
|
|
||||||
syncTimer.cancel();
|
syncTimer.cancel();
|
||||||
syncTimer.purge();
|
syncTimer.purge();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user