From de0c4caf865cc13e835f0267bdbbb018ff023b72 Mon Sep 17 00:00:00 2001 From: vk-cli developers team Date: Sun, 22 May 2016 20:37:50 +0300 Subject: [PATCH] release flag 072 --- generateVersion.d | 2 +- source/vkapi.d | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/generateVersion.d b/generateVersion.d index 22fca56..1024095 100644 --- a/generateVersion.d +++ b/generateVersion.d @@ -3,7 +3,7 @@ import std.process, std.stdio, std.string, std.algorithm, void main() { const versionNum = "0.7.2"; - bool releaseFlag = false; + const releaseFlag = true; immutable string lastCommitHash = matchFirst(executeShell("git log -1").output, regex(r"(?:^commit\s+)([0-9a-f]{40})"))[1][0..7], currentBranch = matchFirst(executeShell("git status").output, regex(r"(?:^On branch\s+)(.+)"))[1]; diff --git a/source/vkapi.d b/source/vkapi.d index c5db4f5..533b78b 100644 --- a/source/vkapi.d +++ b/source/vkapi.d @@ -789,6 +789,7 @@ class AsyncOrder : Thread { } private void procOrder() { + dbm("procOrder start"); while(true) { if(order.length != 0) { for (int i; i < order.length; ++i) { @@ -959,6 +960,9 @@ class Longpoll : Thread { catch(Exception e) { dbm("longpoll exception: " ~ e.msg); } + catch(Error e) { + dbm("longpoll error exception: " ~ e.msg); + } dbm("longpoll is restarting..."); } } @@ -1294,6 +1298,7 @@ class VkMan { private void accountInit() { api.isTokenValid = false; ps.countermsg = -1; + dbm("asyncLongpoll called"); asyncLongpoll(); nc = new nameCache(api);