mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Cleaned up some obscure compiler warnings and added some JSON unit tests.
This commit is contained in:
parent
796247483a
commit
2009753eac
41 changed files with 298 additions and 178 deletions
|
|
@ -65,7 +65,7 @@ public:
|
|||
void run()
|
||||
{
|
||||
uint32 lastTime = Time::getMillisecondCounter();
|
||||
Message::Ptr message (new Message());
|
||||
Message::Ptr messageToSend (new Message());
|
||||
|
||||
while (! threadShouldExit())
|
||||
{
|
||||
|
|
@ -92,7 +92,7 @@ public:
|
|||
*/
|
||||
if (callbackNeeded.compareAndSetBool (1, 0))
|
||||
{
|
||||
postMessage (message);
|
||||
postMessage (messageToSend);
|
||||
|
||||
/* Sometimes our message can get discarded by the OS (e.g. when running as an RTAS
|
||||
when the app has a modal loop), so this is how long to wait before assuming the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue