[bugfix] Avoid potential crash when closing applications in lipstick
Merge pull request #46 from sletta/delete-guard

[bugfix] Avoid potential crash when closing applications in lipstick