Context. In solar flares, non-potential magnetic field energy is transferred to particle acceleration, heating, and radiation. Multi-wavelength observations of the solar corona in extreme ultraviolet (EUV) and X-ray show the consequences of magnetic reconfiguration in lower heights, while radio observations contain information about the access of flare-accelerated electrons to greater heights in the solar atmosphere. Signs of downward and upward particle propagation do not always appear symmetrically, they depend on the acceleration process, the sensitivity of the instruments, and the magnetic connectivity. The magnetic connectivity in various flare phases is therefore a key element to study in order to gain a better understanding of combined flare observations.Aims. We aim to draw conclusions about the magnetic connectivity of specific coronal loops in the active region, the acceleration region, and the higher corona with respect to different phases of the flare process.Methods. We investigate the evolution of particle acceleration, loops heated by the energy release, and the trajectories of flare-accelerated electrons observed up to one solar radius (1 RS) above the active region in a B-class flare on 6 June 2020. We studied the downward particle acceleration and thermal evolution with observations by the Spectrometer/Telescope for Imaging X-rays and with a reconstruction code based on EUV observations. Traces of flare-accelerated electrons, namely, type-III radio bursts, were investigated with a spectroscopic solar dynamic radio imager (LOw Frequency ARray). The radio source positions in heights of 0.4 RS–1.0 RS were compared with the thermal evolution of coronal loops and with a solar magnetic field model.Results. In this flare event, similar magnetic reconnection processes and accompanied heating processes are triggered several times. For loops and periods with access to the higher corona, type-III bursts from similar reconnection process are emitted along similar propagation trajectories. There are no radio bursts associated with the heating process of the main flaring loop.Conclusions. In this event, the large-scale magnetic field is rather stable and seems not to be affected by the flare. The access to loops reaching heights of half a solar radius or more is suppressed during the main flare phase for flare-accelerated electrons. This may lead to more effective heating and absent type-III radio bursts between 20 MHz and 85 MHz.