summaryrefslogtreecommitdiff
path: root/tests/asynchronous/bug742621.vala
blob: 1577cafd984f2acf38da9b6ba50393362fab7904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Xyzzy : Object {
    public bool b { get; set; }
}

Xyzzy? xyzzy = null;

private void on_b() {
}

async void go_async() throws Error {
    xyzzy.notify["b"].disconnect(on_b);
}

void main () {
}