Cleanup trigger handling for worker.
Cleanup trigger handling for worker.

tanzeelkazi/web-worker,tanzeelkazi/webworker,tanzeelkazi/webworker,tanzeelkazi/webworker,tanzeelkazi/web-worker,tanzeelkazi/web-worker