Work on pm restructure

This commit is contained in:
Daniel
2018-12-03 20:02:03 +01:00
parent 62b1c03edc
commit 8fb21fd900
23 changed files with 487 additions and 326 deletions

View File

@@ -6,6 +6,7 @@ import (
"time"
"github.com/Safing/portbase/database"
"github.com/Safing/portmaster/profile"
"github.com/tevino/abool"
)
@@ -76,6 +77,8 @@ func (p *Process) Delete() {
if dbControllerFlag.IsSet() {
dbController.PushUpdate(p)
}
profile.DeactivateProfileSet(p.profileSet)
}
// CleanProcessStorage cleans the storage from old processes.