mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
Remove unnecessary workaround sleep for Darwin debugging
This commit is contained in:
parent
619e443e7e
commit
2aae2ad42b
@ -244,7 +244,6 @@ static RIODesc *__open(RIO *io, const char *file, int rw, int mode) {
|
||||
riom->pid = pid;
|
||||
riom->task = task;
|
||||
// sleep 1s to get proper path (program name instead of ls) (racy)
|
||||
r_sys_sleep (1);
|
||||
pidpath = r_sys_pid_to_path (pid);
|
||||
ret = r_io_desc_new (&r_io_plugin_mach, riom->pid,
|
||||
pidpath, rw | R_IO_EXEC, mode, riom);
|
||||
|
Loading…
Reference in New Issue
Block a user