8a08a0c Apply fix suggested by ncoghlan for crash-on-exit bug (#1632039)

Authored and Committed by adamwill 4 years ago
    Apply fix suggested by ncoghlan for crash-on-exit bug (#1632039)
    
        
file modified
+9 -1