diff --git a/LibreMetaverse/ParcelManager.cs b/LibreMetaverse/ParcelManager.cs
index 430c835b..af0f2c48 100644
--- a/LibreMetaverse/ParcelManager.cs
+++ b/LibreMetaverse/ParcelManager.cs
@@ -1686,8 +1686,9 @@ namespace OpenMetaverse
/// Location of the parcel in the remote region
/// Remote region handle
/// Remote region UUID
+ /// Thread cancellation token
/// If successful UUID of the remote parcel, UUID.Zero otherwise
- public async Task RequestRemoteParcelIDAsync(Vector3 location, ulong regionHandle, UUID regionID)
+ public async Task RequestRemoteParcelIDAsync(Vector3 location, ulong regionHandle, UUID regionID, CancellationToken cancellationToken)
{
if (Client.Network.CurrentSim == null || Client.Network.CurrentSim.Caps == null)
return UUID.Zero;
@@ -1706,7 +1707,7 @@ namespace OpenMetaverse
try
{
OSD res = null;
- await Client.HttpCapsClient.PostRequestAsync(cap, OSDFormat.Xml, msg.Serialize(), CancellationToken.None,
+ await Client.HttpCapsClient.PostRequestAsync(cap, OSDFormat.Xml, msg.Serialize(), cancellationToken,
(response, data, error) =>
{
if (data != null)
@@ -1745,7 +1746,7 @@ namespace OpenMetaverse
/// If successful UUID of the remote parcel, UUID.Zero otherwise
public UUID RequestRemoteParcelID(Vector3 location, ulong regionHandle, UUID regionID)
{
- return RequestRemoteParcelIDAsync(location, regionHandle, regionID).Result;
+ return RequestRemoteParcelIDAsync(location, regionHandle, regionID, CancellationToken.None).Result;
}
///