-
-
Save rolfbjarne/e4333aa092d798d3eb17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tools/mtouch/devcontroller.cs b/tools/mtouch/devcontroller.cs | |
index 900994c..e848d41 100644 | |
--- a/tools/mtouch/devcontroller.cs | |
+++ b/tools/mtouch/devcontroller.cs | |
@@ -415,6 +415,8 @@ namespace MonoTouch | |
DeviceDiscovery.EnumerateDevices (MTouch.Timeout, (dev) => | |
{ | |
+ dev.ValidatePairing (); | |
+ dev.StartSession (); | |
switch (format) { | |
case OutputFormat.Xml: | |
writer.WriteStartElement ("Device"); | |
@@ -437,6 +439,7 @@ namespace MonoTouch | |
} | |
break; | |
} | |
+ dev.StopSession (); | |
}); | |
if (format == OutputFormat.Xml) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment