javapns-jdk16
javapns-jdk16 copied to clipboard
When QUEUE Mode change thread sleep to wait.
- When sent messages by QUEUE Mode, can not stop NotificationThread by NotificationThreads.interrupt method. As a result, PushedNotifications results remain and eventually cause memory leak.
- Changed able to change this wait, notifyAll able to stop the NotificationThreads.