diff --git a/commonspace/spaceservice.go b/commonspace/spaceservice.go index 7ae37a81..502ca9a8 100644 --- a/commonspace/spaceservice.go +++ b/commonspace/spaceservice.go @@ -143,6 +143,7 @@ func (s *spaceService) NewSpace(ctx context.Context, id string) (Space, error) { configuration: lastConfiguration, peerManager: peerManager, storage: st, + treesUsed: &atomic.Int32{}, isClosed: spaceIsClosed, } return sp, nil