code: public synchronized void flushEvents()
      {
          while (!this.events.isEmpty()) {
              ComponentEventEntry entry = this.events.pop();
              sendEvent(entry.event, entry.descriptor, entry.componentManager);
          }
      }
docs: Force to send all stored events.