Scheduler problem

Discussion in 'BungeeCord Plugin Development' started by AgentLV, Jan 24, 2016.

  1. Hey guys,
    I am having a strange error and I am not sure if this a Bungeecord bug, so I am going to ask here before I report it to Bungeecord.
    So I have a repeating task, which pings all the servers and sometimes when the proxy is shut down, these errors occur.

    Code (Text):
    getProxy().getScheduler().schedule(this, new Runnable() {
                public void run() {
            }, 5, interval, TimeUnit.SECONDS);
    Code (Text):
    entry.getValue().ping(new Callback<ServerPing>() // you get the idea
  2. Lol, den kenn ich doch...

    ...die Fehler kann ich mir auch nicht erklären, hatte auch letztens Stress mit Tasks in BC ^^. Scheint etwas Buggy zu sein.
    Naja, noch viel Glück bei der Fehlerbehebung.
  3. Think it's a Bungeecord bug, where the tasks are not properly shut.
  4. BungeeCord doesn't properly handle closing pending ping tasks when it shuts down, it's been that way since day one.