Skip to content

Commit af9128e

Browse files
committed
---
yaml --- r: 11954 b: refs/heads/master c: 35e9970 h: refs/heads/master v: v3
1 parent 228a723 commit af9128e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 5728a69e78d62da49ec3c6c5ce5ebab9932f4e44
2+
refs/heads/master: 35e9970e29cfc075968e3a1b9d4e1293ab7ab98b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rt/rust_port.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ rust_port::rust_port(rust_task *task, size_t unit_sz)
1010
"new rust_port(task=0x%" PRIxPTR ", unit_sz=%d) -> port=0x%"
1111
PRIxPTR, (uintptr_t)task, unit_sz, (uintptr_t)this);
1212

13-
task->ref();
1413
id = kernel->register_port(this);
1514
}
1615

1716
rust_port::~rust_port() {
1817
LOG(task, comm, "~rust_port 0x%" PRIxPTR, (uintptr_t) this);
19-
20-
task->deref();
2118
}
2219

2320
void rust_port::ref() {

0 commit comments

Comments
 (0)