Fix interval error
This commit is contained in:
@@ -79,18 +79,23 @@ public class Manager {
|
|||||||
*/
|
*/
|
||||||
public void reloadIntervals() {
|
public void reloadIntervals() {
|
||||||
if(sendId != -1) {
|
if(sendId != -1) {
|
||||||
|
sendId = -1;
|
||||||
pl.getProxy().getScheduler().cancel(sendId);
|
pl.getProxy().getScheduler().cancel(sendId);
|
||||||
}
|
}
|
||||||
if(updateId != -1) {
|
if(updateId != -1) {
|
||||||
|
updateId = -1;
|
||||||
pl.getProxy().getScheduler().cancel(updateId);
|
pl.getProxy().getScheduler().cancel(updateId);
|
||||||
}
|
}
|
||||||
if(messagerId != -1) {
|
if(messagerId != -1) {
|
||||||
|
messagerId = -1;
|
||||||
pl.getProxy().getScheduler().cancel(messagerId);
|
pl.getProxy().getScheduler().cancel(messagerId);
|
||||||
}
|
}
|
||||||
if(actionbarId != -1) {
|
if(actionbarId != -1) {
|
||||||
|
actionbarId = -1;
|
||||||
pl.getProxy().getScheduler().cancel(actionbarId);
|
pl.getProxy().getScheduler().cancel(actionbarId);
|
||||||
}
|
}
|
||||||
if(srvRefId != -1) {
|
if(srvRefId != -1) {
|
||||||
|
srvRefId = -1;
|
||||||
pl.getProxy().getScheduler().cancel(srvRefId);
|
pl.getProxy().getScheduler().cancel(srvRefId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user