mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
ContentSharer: Fix variable shadowing warnings in Android impl
This commit is contained in:
parent
63c6187fdf
commit
2f0b287ce7
1 changed files with 3 additions and 3 deletions
|
|
@ -191,10 +191,10 @@ public:
|
|||
// numOpenedHandles may get negative if we don't receive open handle event.
|
||||
if (fileWasRead && numOpenedHandles <= 0)
|
||||
{
|
||||
MessageManager::callAsync ([fileObserver = fileObserver, onClose = onClose]
|
||||
MessageManager::callAsync ([fo = fileObserver, oc = onClose]
|
||||
{
|
||||
getEnv()->CallVoidMethod (fileObserver, JuceContentProviderFileObserver.stopWatching);
|
||||
NullCheckedInvocation::invoke (onClose);
|
||||
getEnv()->CallVoidMethod (fo, JuceContentProviderFileObserver.stopWatching);
|
||||
NullCheckedInvocation::invoke (oc);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue