TestClient cleanup
This commit is contained in:
@@ -56,7 +56,7 @@ namespace OpenMetaverse.TestClient
|
||||
};
|
||||
|
||||
// Subscribe to the event that will tell us the status of the download
|
||||
Client.Assets.XferReceived += new EventHandler<XferReceivedEventArgs>(Assets_XferReceived);
|
||||
Client.Assets.XferReceived += Assets_XferReceived;
|
||||
// subscribe to the event which tells us when the simulator has received our request
|
||||
Client.Assets.InitiateDownload += initiateDownloadDelegate;
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace OpenMetaverse.TestClient
|
||||
|
||||
// unsubscribe from events
|
||||
Client.Assets.InitiateDownload -= initiateDownloadDelegate;
|
||||
Client.Assets.XferReceived -= new EventHandler<XferReceivedEventArgs>(Assets_XferReceived);
|
||||
Client.Assets.XferReceived -= Assets_XferReceived;
|
||||
|
||||
// return the result
|
||||
return result.ToString();
|
||||
|
||||
Reference in New Issue
Block a user