1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
JUCE/modules/juce_gui_basics/filebrowser
reuk fd2f866dd1 FileChooser: Avoid throwing bad_weak_ptr
It seems like shared_from_this may not be enabled when a unique_ptr is
assigned to a shared_ptr (although it *should* be enabled when
constructing a new shared_ptr from a unique_ptr). Functions that return
objects that may need to use shared_from_this now return shared_ptr,
just to be safe.

Additionally, in some cases, shared_from_this was being called from
Thread::run after the last reference to the shared object had been
released. We now call shared_from_this during 'open', which will always
run on the message thread while at least once reference to the shared
object is alive.
2021-03-03 19:21:43 +00:00
..
juce_ContentSharer.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ContentSharer.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_DirectoryContentsDisplayComponent.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_DirectoryContentsDisplayComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_DirectoryContentsList.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_DirectoryContentsList.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FileBrowserComponent.cpp FileBrowserComponent: Update all filenameBox text when LnF changes 2020-07-03 17:52:21 +01:00
juce_FileBrowserComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FileBrowserListener.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FileChooser.cpp FileChooser: Avoid throwing bad_weak_ptr 2021-03-03 19:21:43 +00:00
juce_FileChooser.h FileChooser: Avoid throwing bad_weak_ptr 2021-03-03 19:21:43 +00:00
juce_FileChooserDialogBox.cpp FileChooserDialogBox: Ensure filechoosers open in front of other windows 2021-01-22 10:23:45 +00:00
juce_FileChooserDialogBox.h Added checks for DOXYGEN #define when excluding modal methods in headers 2021-02-05 14:17:19 +00:00
juce_FileListComponent.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FileListComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FilenameComponent.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FilenameComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FilePreviewComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FileSearchPathListComponent.cpp Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
juce_FileSearchPathListComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FileTreeComponent.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_FileTreeComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ImagePreviewComponent.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ImagePreviewComponent.h Updated all license headers 2020-06-29 08:30:22 +01:00