Locking happens now on the instance level
This commit is contained in:
@@ -148,9 +148,6 @@ func (p *pwd) SessionGetSmallestViewPort(s *Session) ViewPort {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *pwd) SessionDeployStack(s *Session) error {
|
func (p *pwd) SessionDeployStack(s *Session) error {
|
||||||
s.rw.Lock()
|
|
||||||
defer s.rw.Unlock()
|
|
||||||
|
|
||||||
if s.Ready {
|
if s.Ready {
|
||||||
// a stack was already deployed on this session, just ignore
|
// a stack was already deployed on this session, just ignore
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user