Open galeone opened 7 years ago
I agree this looks a lot neater, but it would break backwards compatibility. So this will probably be on hold until we decide to bump the major API version.
No problem, the code is still here thus you're free to merge whenever you want it (and if you want it!).
In the meantime, if someone wants to use the thread safe version it can just use my fork.
I moved the
oauthClient
variable within theTwitterAPI
structure and I changed every method that used theoauthClient
variable to use the new one, within the structure.In this way, we can spawn multiple thread-safe applications. In short: fix #101