Skip to content

Commit

Permalink
@stasadev fix wrong logic
Browse files Browse the repository at this point in the history
Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
  • Loading branch information
rfay and stasadev committed Feb 21, 2024
1 parent 5154fd6 commit 96daab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddevapp/ddevapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -2511,7 +2511,7 @@ func (app *DdevApp) Stop(removeData bool, createSnapshot bool) error {

// Remove data/database/projectInfo/hosts entry if we need to.
if removeData {
if !app.IsMutagenEnabled() {
if app.IsMutagenEnabled() {
err = TerminateMutagenSync(app)
if err != nil {
util.Warning("Unable to terminate Mutagen session %s: %v", MutagenSyncName(app.Name), err)
Expand Down

0 comments on commit 96daab6

Please sign in to comment.