fix: shell.openPath
should be non-blocking (#48089)
fix: shell.openPath should be non-blocking Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
114a3b3971
commit
a6b0d27bb7
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ void ShowItemInFolder(const base::FilePath& full_path) {
|
|||
|
||||
void OpenPath(const base::FilePath& full_path, OpenCallback callback) {
|
||||
// This is async, so we don't care about the return value.
|
||||
XDGOpen(full_path.DirName(), full_path.value(), true, std::move(callback));
|
||||
XDGOpen(full_path.DirName(), full_path.value(), false, std::move(callback));
|
||||
}
|
||||
|
||||
void OpenFolder(const base::FilePath& full_path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue