mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-04 17:34:07 +02:00
Fix recently introduced crash when opening dev tools in notification window
This commit is contained in:
parent
9a280492c2
commit
38d6d93f65
@ -35,7 +35,7 @@ void IResourceHandler.GetResponseHeaders(IResponse response, out long responseLe
|
||||
response.StatusCode = 200;
|
||||
response.StatusText = "OK";
|
||||
response.ResponseHeaders = headers;
|
||||
responseLength = dataIn.Length;
|
||||
responseLength = dataIn != null ? dataIn.Length : -1;
|
||||
}
|
||||
|
||||
bool IResourceHandler.ReadResponse(Stream dataOut, out int bytesRead, ICallback callback){
|
||||
|
Loading…
Reference in New Issue
Block a user