ManiacDC / TypingAid

Word AutoCompletion Utility
http://www.autohotkey.com/board/topic/49517-ahk-11typingaid-v2200-word-autocompletion-utility/
GNU General Public License v3.0
142 stars 45 forks source link

When 2 processes are using the same database, and one exits, the wordlist is cleaned incorrectly #58

Open ManiacDC opened 9 years ago

ManiacDC commented 9 years ago

When 2 processes are using the same database, and one exits, the Wordlist.txt words are all removed from the wordlist.

ManiacDC commented 9 years ago

To fix this, I only clean out the wordlist right before loading the script again, not upon exit. Coincidentally, this also means that learned words that are not permanently learned stay around until the next script launch too. https://github.com/ManiacDC/TypingAid/commit/256dd1ce956d39d6ee402bb096fad27e06c3b388 https://github.com/ManiacDC/TypingAid/commit/d14e0731397a4f4aac3e18b98f80452bc71721e2