Skip to content

feat(Vbox): save soc - #111

Open
MulvadT wants to merge 1 commit into
developmentfrom
hotfix/save-soc
Open

MulvadT wants to merge 1 commit into
developmentfrom
hotfix/save-soc

Conversation

@MulvadT

@MulvadT MulvadT commented Feb 6, 2022

Copy link
Copy Markdown

No description provided.

@MulvadT
MulvadT requested a review from rasmim February 6, 2022 18:19
@MulvadT MulvadT linked an issue Feb 6, 2022 that may be closed by this pull request
Comment thread game/environment.go
log.Info().Str("VMID", vm.Info().Id).Str("Duration", DurationOfTime.String()).Msg("Saved SOC after duration")
}
time.AfterFunc(DurationOfTime, f)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link this part with the close function. When the close function is called the saving SOC will also happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Soc Machine should be saved after game

2 participants