Permalink
Browse files

Fix some issues with SignalR's owin request impl on mono

- Create the form lock (don't leave it null)
- Use external console so the sample doesn't quit when running in mono
develop.
  • Loading branch information...
1 parent 31118ea commit b5c05bc6bfee3ed590633a8f71c9a3e8038ab034 @davidfowl davidfowl committed Dec 8, 2012
@@ -14,6 +14,7 @@
<TargetFrameworkProfile />
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
+ <Externalconsole>True</Externalconsole>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -21,7 +21,7 @@ public partial class ServerRequest : IRequest
private NameValueCollection _serverVariables;
private NameValueCollection _form;
private bool _formInitialized;
- private object _formLock;
+ private object _formLock = new object();
private IDictionary<string, Cookie> _cookies;
public Uri Url

0 comments on commit b5c05bc

Please sign in to comment.