Locking happens now on the instance level

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-06-09 16:12:01 -03:00
parent 84b532b887
commit 84f9af177c

View File

@@ -148,9 +148,6 @@ func (p *pwd) SessionGetSmallestViewPort(s *Session) ViewPort {
}
func (p *pwd) SessionDeployStack(s *Session) error {
s.rw.Lock()
defer s.rw.Unlock()
if s.Ready {
// a stack was already deployed on this session, just ignore
return nil