File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 02a5949abaa4e888ecb470023ea2f29cd6bde43b
2
+ refs/heads/master: 4e59b0be544bfda5c533c2024c981861ce012709
Original file line number Diff line number Diff line change 7
7
rust_chan::rust_chan (rust_task *task,
8
8
maybe_proxy<rust_port> *port,
9
9
size_t unit_sz) :
10
+ ref_count(1 ),
10
11
task(task),
11
12
port(port),
12
13
buffer(task, unit_sz) {
Original file line number Diff line number Diff line change 1
1
#ifndef RUST_CHAN_H
2
2
#define RUST_CHAN_H
3
3
4
- class rust_chan : public rc_base <rust_chan>,
5
- public task_owned<rust_chan>,
4
+ class rust_chan : public task_owned <rust_chan>,
6
5
public rust_cond {
7
6
public:
7
+ RUST_REFCOUNTED_WITH_DTOR (rust_chan, destroy())
8
8
rust_chan (rust_task *task, maybe_proxy<rust_port> *port, size_t unit_sz);
9
9
10
10
~rust_chan ();
You can’t perform that action at this time.
0 commit comments