Vaadin8 - hybrid menu blocks ExecutorService indefinitely
When ExecutorService is run notificationQueue.take() block indefinitely when there is no new items to notify. The thread is blocked even when the UI is detached. During tomcat shutdown tomcat logs about threads that were abandoned. Change in my fork change take() into poll() method and change the NPE guards after that in order to not block the thread. If code is OK I can provide pull request.