fix: get_mru_position should not hang if file not found in project

This commit is contained in:
CJ van den Berg 2025-02-23 21:54:28 +01:00
parent 30de4ddcc6
commit db0bf4571e
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -421,6 +421,7 @@ pub fn get_mru_position(self: *Self, from: tp.pid_ref, file_path: []const u8) Cl
from.send(.{ file.pos.row + 1, file.pos.col + 1 }) catch return error.ClientFailed;
return;
}
from.send(.{"none"}) catch return error.ClientFailed;
}
pub fn request_tasks(self: *Self, from: tp.pid_ref) ClientError!void {