Compare commits

..

No commits in common. "e56138e4160ec78307a513159cd5d472edf2000f" and "b615c27cf67c756b4b2fceca55d243db88256db9" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -55,9 +55,6 @@ func(f *BaseSessionHandler) Process(rqs RequestSession) (RequestSession, error)
} }
f.hn = f.hn.WithPersister(rqs.Storage.Persister) f.hn = f.hn.WithPersister(rqs.Storage.Persister)
defer func() {
f.hn.Exit()
}()
eni := f.GetEngine(rqs.Config, f.rs, rqs.Storage.Persister) eni := f.GetEngine(rqs.Config, f.rs, rqs.Storage.Persister)
en, ok := eni.(*engine.DefaultEngine) en, ok := eni.(*engine.DefaultEngine)
if !ok { if !ok {

View File

@ -113,7 +113,7 @@ func (h *Handlers) Init(ctx context.Context, sym string, input []byte) (resource
return r, nil return r, nil
} }
defer func() { defer func() {
h.Exit() h.pe = nil
}() }()
h.st = h.pe.GetState() h.st = h.pe.GetState()
@ -140,10 +140,6 @@ func (h *Handlers) Init(ctx context.Context, sym string, input []byte) (resource
return r, nil return r, nil
} }
func (h *Handlers) Exit() {
h.pe = nil
}
// SetLanguage sets the language across the menu // SetLanguage sets the language across the menu
func (h *Handlers) SetLanguage(ctx context.Context, sym string, input []byte) (resource.Result, error) { func (h *Handlers) SetLanguage(ctx context.Context, sym string, input []byte) (resource.Result, error) {
var res resource.Result var res resource.Result