diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-15 15:20:17 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-16 18:27:46 +0200 |
| commit | ce18f241294822c299bc0f97c84135437d4c1464 (patch) | |
| tree | fcab36d29c249528967d3e3785931801395b7777 | |
| parent | f0c3aa374447684de95f9653830b232d896aee0b (diff) | |
| download | river-ce18f241294822c299bc0f97c84135437d4c1464.tar.gz river-ce18f241294822c299bc0f97c84135437d4c1464.tar.xz | |
river-status: actually destroy the manager object
| -rw-r--r-- | river/StatusManager.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/river/StatusManager.zig b/river/StatusManager.zig index bc5bc99..fb2630c 100644 --- a/river/StatusManager.zig +++ b/river/StatusManager.zig @@ -77,7 +77,9 @@ fn bind(wl_client: ?*c.wl_client, data: ?*c_void, version: u32, id: u32) callcon c.wl_resource_set_implementation(wl_resource, &implementation, self, null); } -fn destroy(wl_client: ?*c.wl_client, wl_resource: ?*c.wl_resource) callconv(.C) void {} +fn destroy(wl_client: ?*c.wl_client, wl_resource: ?*c.wl_resource) callconv(.C) void { + c.wl_resource_destroy(wl_resource); +} fn getRiverOutputStatus( wl_client: ?*c.wl_client, |
