brianchandotcom/liferay-portal — pull request #3500 by holatuwol (2011-12-29 21:08:22+00:00)
Title: LPS-24512

Scheduler engine needs to shutdown after plugins are unregistered, because some plugins will be unregistering things from the scheduler as they shutdown. Regression bug introduced in LPS-23983, since SchedulerLifecycle might run its doPortalDestroy() before plugins get a chance to run their doPortalDestroy(). Fix is to only make scheduler start part of doPortalInit(), but leave the shutdown inside of GlobalShutdownAction after plugins onPortalDestroy() have all been flushed.