Merge pull request #15 from xetorthio/jonas_master

Locking happens now on the instance level
This commit is contained in:
Jonathan Leibiusky
2017-06-09 16:12:56 -03:00
committed by GitHub

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