Bug 819454: Avoid nuking module sandboxes when the application is shutting down.
Merge pull request #809 from Mossop/bug819454

Bug 819454: Avoid nuking module sandboxes when the application is shutting down. r=ochemeau