The Bosnian compact , negotiated at Wright-Patterson Air Force Base near Dayton , ended what was then the worst war in Europe in 50 years , a hatred-driven sectarian conflict that erupted after the disintegration of Yugoslavia in the early 1990 's .