Skip to content

Commit

Permalink
fixed history migration issue; a race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
aviaryan committed Apr 14, 2016
1 parent 0b4fff3 commit 7d97ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Clipjump.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ else if (ini_Version != VERSION)
{
save_default(0) ;0 corresponds to selective save
gosub Reload ; Update plugin includes with what the user has incase he updates his Clipjump
sleep 10000 ; to counter race condition
}

; start history
; migrate if needed
global DB := new SQLiteDB()
msgbox % "hi " FileExist(DBPATH)
if (!FileExist(DBPATH))
isnewdb := 1
else
Expand Down

0 comments on commit 7d97ecc

Please sign in to comment.