Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
a4507ca4
Commit
a4507ca4
authored
Aug 07, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
302c7fa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
go/zodb/persistent.go
go/zodb/persistent.go
+2
-0
No files found.
go/zodb/persistent.go
View file @
a4507ca4
...
@@ -210,6 +210,8 @@ func (obj *Persistent) PActivate(ctx context.Context) (err error) {
...
@@ -210,6 +210,8 @@ func (obj *Persistent) PActivate(ctx context.Context) (err error) {
obj
.
PDeactivate
()
obj
.
PDeactivate
()
}
}
}()
}()
//fmt.Printf("activate %p(%v)\t%T(%s): refcnt=%d state=%v\n",
// obj, obj.zclass, obj.instance, obj.oid, obj.refcnt, obj.state)
if
!
doload
{
if
!
doload
{
// someone else is already activated/activating the object.
// someone else is already activated/activating the object.
// wait for its loading to complete and we are done.
// wait for its loading to complete and we are done.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment