This is not true, several precision mechanics factories (or parts of factories) in Hungary were producing for Western export and yet they let them rot apart.
The true reason for those who wonder was the fact that ALFA was making electronics for MiG, Su, Tu and for missiles. I had family and friends working there btw.
This was quite a classic move during the "privatisation" in '89-90.