We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b802e37 commit 4fe14e2Copy full SHA for 4fe14e2
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 3d991bac6c557d7bb723f0ce2bc1e79ba6bdaf5a
+refs/heads/master: f4ce965ce70f7f7ffa62df721d083cb3eafeb19d
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/src/rt/rust_builtin.cpp
@@ -511,7 +511,7 @@ rust_port_detach(rust_port *port) {
511
// FIXME: Busy waiting until we're the only ref
512
bool done = false;
513
while (!done) {
514
- scoped_lock with(port->lock);
+ scoped_lock with(task->lock);
515
done = port->ref_count == 1;
516
}
517
0 commit comments